#include <cpython_ref.h>
Interface class for CPyRefs.
@MAXON_ANNOTATION{refclass=false}
Public Member Functions | |
MAXON_METHOD CPyFrameRef | GetBack () const |
MAXON_METHOD CPyCodeRef | GetCode () const |
MAXON_METHOD Int32 | GetLastInstruction () const |
Static Public Member Functions | |
static MAXON_FUNCTION CPyFrameRef | CreateFrameRef (const CPythonLibraryInterface *lib, REFTYPE refType, NativePyObject *pyObject) |
Private Member Functions | |
MAXON_INTERFACE (CPyFrameInterface, MAXON_REFERENCE_NORMAL, "net.maxon.python.interface.cpyframe") | |
|
private |
|
static |
Creates a frame reference by a given NativePyObject. GIL must be held.
[in] | lib | The NativePyObject's library origin. |
[in] | refType | Ref count handler information. |
MAXON_METHOD CPyFrameRef GetBack | ( | ) | const |
MAXON_METHOD CPyCodeRef GetCode | ( | ) | const |
MAXON_METHOD Int32 GetLastInstruction | ( | ) | const |