#include <sqratTypes.h>
Public Member Functions | |
Var (HSQUIRRELVM vm, SQInteger idx) | |
Static Public Member Functions | |
static void | push (HSQUIRRELVM vm, T *value) |
Public Attributes | |
T * | value |
The actual value of get operations. | |
Used to get and push class instances to and from the stack as pointers
T | Type of instance (usually doesnt need to be defined explicitly) |
|
inline |
Attempts to get the value off the stack at idx as the given type
vm | Target VM |
idx | Index trying to be read |
|
inlinestatic |
Called by Sqrat::PushVar to put a class object on the stack
vm | Target VM |
value | Value to push on to the VM's stack |