10 #define NUMBER_MAX_CHAR 50 16 SQString *Add(
const SQChar *,SQInteger len);
19 void Resize(SQInteger size);
20 void AllocNodes(SQInteger size);
22 SQUnsignedInteger _numofslots;
23 SQUnsignedInteger _slotused;
30 SQUnsignedInteger refs;
37 SQUnsignedInteger GetRefCount(
SQObject &obj);
38 #ifndef NO_GARBAGE_COLLECTOR 45 void Resize(SQUnsignedInteger size);
46 void AllocNodes(SQUnsignedInteger size);
47 SQUnsignedInteger _numofslots;
48 SQUnsignedInteger _slotused;
54 #define ADD_STRING(ss,str,len) ss->_stringtable->Add(str,len) 55 #define REMOVE_STRING(ss,bstr) ss->_stringtable->Remove(bstr) 65 SQChar* GetScratchPad(SQInteger size);
66 SQInteger GetMetaMethodIdxByName(
const SQObjectPtr &name);
67 #ifndef NO_GARBAGE_COLLECTOR 68 SQInteger CollectGarbage(
SQVM *vm);
70 SQInteger ResurrectUnreachable(
SQVM *vm);
82 #ifndef NO_GARBAGE_COLLECTOR 95 static const SQRegFunction _generator_default_delegate_funcz[];
103 static const SQRegFunction _instance_default_delegate_funcz[];
105 static const SQRegFunction _weakref_default_delegate_funcz[];
107 SQCOMPILERERROR _compilererrorhandler;
108 SQPRINTFUNCTION _printfunc;
109 SQPRINTFUNCTION _errorfunc;
111 bool _notifyallexceptions;
112 SQUserPointer _foreignptr;
113 SQRELEASEHOOK _releasehook;
116 SQInteger _scratchpadsize;
119 #define _sp(s) (_sharedstate->GetScratchPad(s)) 120 #define _spval (_sharedstate->GetScratchPad(-1)) 122 #define _table_ddel _table(_sharedstate->_table_default_delegate) 123 #define _array_ddel _table(_sharedstate->_array_default_delegate) 124 #define _string_ddel _table(_sharedstate->_string_default_delegate) 125 #define _number_ddel _table(_sharedstate->_number_default_delegate) 126 #define _generator_ddel _table(_sharedstate->_generator_default_delegate) 127 #define _closure_ddel _table(_sharedstate->_closure_default_delegate) 128 #define _thread_ddel _table(_sharedstate->_thread_default_delegate) 129 #define _class_ddel _table(_sharedstate->_class_default_delegate) 130 #define _instance_ddel _table(_sharedstate->_instance_default_delegate) 131 #define _weakref_ddel _table(_sharedstate->_weakref_default_delegate) 133 bool CompileTypemask(
SQIntVec &res,
const SQChar *typemask);
Definition: squirrel.h:153
Definition: sqobject.h:205
Definition: squirrel.h:183
Definition: sqstring.h:14
Definition: sqobject.h:313