CPyFrameInterface Class Reference

#include <cpython_ref.h>

Inheritance diagram for CPyFrameInterface:

Detailed Description

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")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( CPyFrameInterface  ,
MAXON_REFERENCE_NORMAL  ,
"net.maxon.python.interface.cpyframe"   
)
private

◆ CreateFrameRef()

static MAXON_FUNCTION CPyFrameRef CreateFrameRef ( const CPythonLibraryInterface lib,
REFTYPE  refType,
NativePyObject pyObject 
)
static

Creates a frame reference by a given NativePyObject. GIL must be held.

Parameters
[in]libThe NativePyObject's library origin.
[in]refTypeRef count handler information.
Returns
Returns a new wrapper reference.

◆ GetBack()

MAXON_METHOD CPyFrameRef GetBack ( ) const

◆ GetCode()

MAXON_METHOD CPyCodeRef GetCode ( ) const

◆ GetLastInstruction()

MAXON_METHOD Int32 GetLastInstruction ( ) const