#include "sqplus.h"
Go to the source code of this file.
◆ _SETVALUE_INT_BEGIN
#define _SETVALUE_INT_BEGIN |
Value:BOOL_T ret = FALSE; \
SQInteger top =
sq_gettop(SquirrelVM::_VM); \
sq_pushobject(SquirrelVM::_VM,_o); \
sq_pushinteger(SquirrelVM::_VM,key);
SQInteger sq_gettop(HSQUIRRELVM v)
Definition at line 138 of file SquirrelObject.cpp.
◆ _SETVALUE_INT_END
#define _SETVALUE_INT_END |
Value:if(SQ_SUCCEEDED(
sq_rawset(SquirrelVM::_VM,-3))) { \
ret = TRUE; \
} \
sq_settop(SquirrelVM::_VM,top); \
return ret;
SQRESULT sq_rawset(HSQUIRRELVM v, SQInteger idx)
Definition at line 144 of file SquirrelObject.cpp.
◆ _SETVALUE_STR_BEGIN
#define _SETVALUE_STR_BEGIN |
Value:BOOL_T ret = FALSE; \
SQInteger top =
sq_gettop(SquirrelVM::_VM); \
sq_pushobject(SquirrelVM::_VM,_o); \
sq_pushstring(SquirrelVM::_VM,key,-1);
SQInteger sq_gettop(HSQUIRRELVM v)
Definition at line 200 of file SquirrelObject.cpp.
◆ _SETVALUE_STR_END
#define _SETVALUE_STR_END |
Value:if(SQ_SUCCEEDED(
sq_rawset(SquirrelVM::_VM,-3))) { \
ret = TRUE; \
} \
sq_settop(SquirrelVM::_VM,top); \
return ret;
SQRESULT sq_rawset(HSQUIRRELVM v, SQInteger idx)
Definition at line 206 of file SquirrelObject.cpp.