Closed blueloveTH closed 3 months ago
pkpy_{class}__{function}
T* self
as the first parameter if the function is a previous C++ methodPyVar
and PyObject
T=
to annotate generic array and vector, e.g. c11_vector/* T=c11_string */
//
comment for function if it is not clearTODO:
::PyVar
to pkpy_Value
::PyObject
It looks like you have dropped support for multiple VMs in v2 and instead use pk_current_vm
. Is that a feature that will come back?
It looks like you have dropped support for multiple VMs in v2 and instead use
pk_current_vm
. Is that a feature that will come back?
Paritially. v2 still supports multi-vm. You can keep multi-vm states but only one of them can be active. And all operations are based on the current active vm. We will introduce a API like py_switch_vm
which allows you to switch between VMs.
Description
Headers
Sources