Used to get and push string references to and from the stack as copies (strings are always copied)
More...
#include <sqratTypes.h>
|
| Var (HSQUIRRELVM vm, SQInteger idx) |
|
|
static void | push (HSQUIRRELVM vm, const string &value) |
|
|
string | value |
| The actual value of get operations.
|
|
template<>
struct Sqrat::Var< string & >
Used to get and push string references to and from the stack as copies (strings are always copied)
Attempts to get the value off the stack at idx as a string
- Parameters
-
vm | Target VM |
idx | Index trying to be read |
static void Sqrat::Var< string & >::push |
( |
HSQUIRRELVM |
vm, |
|
|
const string & |
value |
|
) |
| |
|
inlinestatic |
Called by Sqrat::PushVarR to put a string on the stack
- Parameters
-
vm | Target VM |
value | Value to push on to the VM's stack |
The documentation for this struct was generated from the following file:
- /media/drive2/atai/software_projects/sqrat/sqrat.git/include/sqrat/sqratTypes.h