#include <cpython_ref.h>
Interface class for CPyRefs.
@MAXON_ANNOTATION{refclass=false}
Static Public Member Functions | |
static MAXON_FUNCTION CPyTypeRef | CreateTypeRef (const CPythonLibraryInterface *lib, REFTYPE refType, NativePyObject *pyObject) |
static MAXON_FUNCTION CPyTypeConstRef | CreateTypeConstRef (const CPythonLibraryInterface *lib, REFTYPE refType, NativePyObject *pyObject) |
Private Member Functions | |
MAXON_INTERFACE (CPyTypeInterface, MAXON_REFERENCE_NORMAL, "net.maxon.python.interface.cpytype") | |
|
private |
|
static |
Creates a type reference by a given NativePyObject. GIL must be held.
[in] | lib | The NativePyObject's library origin. |
[in] | refType | Ref count handler information. |
|
static |
Creates a immutable type reference by a given NativePyObject. GIL must be held.
[in] | lib | The NativePyObject's library origin. |
[in] | refType | Ref count handler information. |