ScummVM API documentation
SQClosure Struct Reference
Inheritance diagram for SQClosure:

Public Member Functions

void Release ()
 
void SetRoot (SQWeakRef *r)
 
SQClosure * Clone ()
 
bool Save (SQVM *v, SQUserPointer up, SQWRITEFUNC write)
 
void Mark (SQCollectable **chain)
 
void Finalize ()
 
SQObjectType GetType ()
 

Static Public Member Functions

static SQClosure * Create (SQSharedState *ss, SQFunctionProto *func, SQWeakRef *root)
 
static bool Load (SQVM *v, SQUserPointer up, SQREADFUNC read, SQObjectPtr &ret)
 

Public Attributes

SQWeakRef * _env
 
SQWeakRef * _root
 
SQClass * _base
 
SQFunctionProto * _function
 
SQObjectPtr * _outervalues = nullptr
 
SQObjectPtr * _defaultparams = nullptr
 

The documentation for this struct was generated from the following file: