ScummVM API documentation
SQFunctionProto Struct Reference
Inheritance diagram for SQFunctionProto:

Public Member Functions

void Release ()
 
const SQChar * GetLocal (SQVM *v, SQUnsignedInteger stackbase, SQUnsignedInteger nseq, SQUnsignedInteger nop)
 
SQInteger GetLine (SQInstruction *curr)
 
bool Save (SQVM *v, SQUserPointer up, SQWRITEFUNC write)
 
void Mark (SQCollectable **chain)
 
void Finalize ()
 
SQObjectType GetType ()
 

Static Public Member Functions

static SQFunctionProtoCreate (SQSharedState *ss, SQInteger ninstructions, SQInteger nliterals, SQInteger nparameters, SQInteger nfunctions, SQInteger noutervalues, SQInteger nlineinfos, SQInteger nlocalvarinfos, SQInteger ndefaultparams)
 
static bool Load (SQVM *v, SQUserPointer up, SQREADFUNC read, SQObjectPtr &ret)
 

Public Attributes

SQObjectPtr _sourcename
 
SQObjectPtr _name
 
SQInteger _stacksize
 
bool _bgenerator
 
SQInteger _varparams = 0
 
SQInteger _nlocalvarinfos = 0
 
SQLocalVarInfo_localvarinfos = nullptr
 
SQInteger _nlineinfos = 0
 
SQLineInfo_lineinfos = nullptr
 
SQInteger _nliterals = 0
 
SQObjectPtr_literals = nullptr
 
SQInteger _nparameters = 0
 
SQObjectPtr_parameters = nullptr
 
SQInteger _nfunctions = 0
 
SQObjectPtr_functions = nullptr
 
SQInteger _noutervalues = 0
 
SQOuterVar_outervalues = nullptr
 
SQInteger _ndefaultparams = 0
 
SQInteger * _defaultparams = nullptr
 
SQInteger _ninstructions = 0
 
SQInstruction _instructions [1]
 

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