|
libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_class_closure.h>


Data Fields | ||
| union { | ||
| GblClassClosureClass * pClass | ||
| GblClosure base | ||
| }; | ||
| struct { | ||
| GblType classType | ||
| size_t offset | ||
| GblInstance * pInstance | ||
| } | private_ | |
Data Fields inherited from GblClosure | ||
| union { | ||
| GblClosureClass * pClass | ||
| GblBox base | ||
| }; | ||
| struct { | ||
| GblMarshalFn pFnMarshal | ||
| } | private_ | |
Data Fields inherited from GblInstance | ||
| GblClass * | pClass | |
GblClosure type for calling into virtual methods.
GblClassClosure allows for mapping a generic marshal call to invoke a virtual method on the GblClass of a GblInstance.
Definition at line 43 of file gimbal_class_closure.h.
|
Sets the offset of the virtual method pointer into the GblClass to invoke the closure on.
|
Sets the GblInstance to call the GblClass virtual method on.
| GblClassClosureClass* GblClassClosure::pClass |
Pointer to class/vtable structure.
Definition at line 43 of file gimbal_class_closure.h.
| GblClosure GblClassClosure::base |
Inherited base instance structure.
Definition at line 43 of file gimbal_class_closure.h.
| GblType GblClassClosure::classType |
PRIVATE: Type of class to invoke the method on.
Definition at line 45 of file gimbal_class_closure.h.
| size_t GblClassClosure::offset |
PRIVATE: Offset of the virtual function to invoke.
Definition at line 46 of file gimbal_class_closure.h.
| GblInstance* GblClassClosure::pInstance |
PRIVATE: Instance to invoke the class method on.
Definition at line 47 of file gimbal_class_closure.h.