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 SQFunctionProto * | Create (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] |