ScummVM API documentation
SQSharedState Struct Reference

Public Member Functions

void Init ()
 
SQChar * GetScratchPad (SQInteger size)
 
SQInteger GetMetaMethodIdxByName (const SQObjectPtr &name)
 
SQInteger CollectGarbage (SQVM *vm)
 
void RunMark (SQVM *vm, SQCollectable **tchain)
 
SQInteger ResurrectUnreachable (SQVM *vm)
 

Static Public Member Functions

static void MarkObject (SQObjectPtr &o, SQCollectable **chain)
 

Public Attributes

SQObjectPtrVec_metamethods
 
SQObjectPtr _metamethodsmap
 
SQObjectPtrVec_systemstrings
 
SQObjectPtrVec_types
 
SQStringTable_stringtable
 
RefTable _refs_table
 
SQObjectPtr _registry
 
SQObjectPtr _consts
 
SQObjectPtr _constructoridx
 
SQCollectable_gc_chain
 
SQObjectPtr _root_vm
 
SQObjectPtr _table_default_delegate
 
SQObjectPtr _array_default_delegate
 
SQObjectPtr _string_default_delegate
 
SQObjectPtr _number_default_delegate
 
SQObjectPtr _generator_default_delegate
 
SQObjectPtr _closure_default_delegate
 
SQObjectPtr _thread_default_delegate
 
SQObjectPtr _class_default_delegate
 
SQObjectPtr _instance_default_delegate
 
SQObjectPtr _weakref_default_delegate
 
SQCOMPILERERROR _compilererrorhandler
 
SQPRINTFUNCTION _printfunc
 
SQPRINTFUNCTION _errorfunc
 
bool _debuginfo
 
bool _notifyallexceptions
 
SQUserPointer _foreignptr
 
SQRELEASEHOOK _releasehook
 

Static Public Attributes

static const SQRegFunction _table_default_delegate_funcz []
 
static const SQRegFunction _array_default_delegate_funcz []
 
static const SQRegFunction _string_default_delegate_funcz []
 
static const SQRegFunction _number_default_delegate_funcz []
 
static const SQRegFunction _generator_default_delegate_funcz []
 
static const SQRegFunction _closure_default_delegate_funcz []
 
static const SQRegFunction _thread_default_delegate_funcz []
 
static const SQRegFunction _class_default_delegate_funcz []
 
static const SQRegFunction _instance_default_delegate_funcz []
 
static const SQRegFunction _weakref_default_delegate_funcz []
 

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