1 /* see copyright notice in squirrel.h */
5 #define MAX_FUNC_STACKSIZE 0xFF
6 #define MAX_LITERALS ((SQInteger)0x7FFFFFFF)
46 _OP_LOADROOTTABLE= 0x15,
52 _OP_LOADFREEVAR= 0x1B,
57 _OP_APPENDARRAY= 0x20,
77 _OP_POSTFOREACH= 0x34,
88 struct SQInstructionDesc {
95 SQInstruction(SQOpcode _op,SQInteger a0=0,SQInteger a1=0,SQInteger a2=0,SQInteger a3=0)
97 _arg0 = (unsigned char)a0;_arg1 = (SQInt32)a1;
98 _arg2 = (unsigned char)a2;_arg3 = (unsigned char)a3;
110 typedef sqvector<SQInstruction> SQInstructionVec;
112 #define NEW_SLOT_ATTRIBUTES_FLAG 0x01
113 #define NEW_SLOT_STATIC_FLAG 0x02
115 #endif // _SQOPCODES_H_