mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-11-05 00:37:18 +01:00
Dumped the old implementation. Started with a more simple approach.
This commit is contained in:
7
external/Squirrel/sqvm.h
vendored
7
external/Squirrel/sqvm.h
vendored
@@ -9,7 +9,10 @@
|
||||
|
||||
#define SQ_SUSPEND_FLAG -666
|
||||
#define DONT_FALL_BACK 666
|
||||
#define EXISTS_FALL_BACK -1
|
||||
//#define EXISTS_FALL_BACK -1
|
||||
|
||||
#define GET_FLAG_RAW 0x00000001
|
||||
#define GET_FLAG_DO_NOT_RAISE_ERROR 0x00000002
|
||||
//base lib
|
||||
void sq_base_register(HSQUIRRELVM v);
|
||||
|
||||
@@ -66,7 +69,7 @@ public:
|
||||
|
||||
void CallDebugHook(SQInteger type,SQInteger forcedline=0);
|
||||
void CallErrorHandler(SQObjectPtr &e);
|
||||
bool Get(const SQObjectPtr &self, const SQObjectPtr &key, SQObjectPtr &dest, bool raw, SQInteger selfidx);
|
||||
bool Get(const SQObjectPtr &self, const SQObjectPtr &key, SQObjectPtr &dest, SQUnsignedInteger getflags, SQInteger selfidx);
|
||||
SQInteger FallBackGet(const SQObjectPtr &self,const SQObjectPtr &key,SQObjectPtr &dest);
|
||||
bool InvokeDefaultDelegate(const SQObjectPtr &self,const SQObjectPtr &key,SQObjectPtr &dest);
|
||||
bool Set(const SQObjectPtr &self, const SQObjectPtr &key, const SQObjectPtr &val, SQInteger selfidx);
|
||||
|
||||
Reference in New Issue
Block a user