#include <frame.h>
Public Attributes | |
PmObjDesc_t | od |
struct PmFrame_s * | nf_back |
pPmFunc_t | nf_func |
pPmObj_t | nf_stack |
uint8_t | nf_active |
uint8_t | nf_numlocals |
pPmObj_t | nf_locals [NATIVE_MAX_NUM_LOCALS] |
A struct that holds the execution frame of a native function, including the args and single stack slot, and pointer to the code object.
This struct doesn't need an OD because it is only used statically in the globals struct. There's only one native frame, the global one. This happens because a native function is a leaf node in the call tree (a native func can't call python funcs).
uint8_t PmNativeFrame_s::nf_active |
Boolean to indicate if the native frame is active
struct PmFrame_s* PmNativeFrame_s::nf_back [read] |
Ptr to previous frame obj
Ptr to fxn obj
pPmObj_t PmNativeFrame_s::nf_locals[NATIVE_MAX_NUM_LOCALS] |
Local vars
uint8_t PmNativeFrame_s::nf_numlocals |
Number of args passed to the native function
Single stack slot
Object descriptor