10 #ifndef SQUIRREL_STD_HPP
11 #define SQUIRREL_STD_HPP
15 #if defined(__APPLE__)
32 static SQInteger
min(HSQUIRRELVM vm);
37 static SQInteger
max(HSQUIRRELVM vm);
44 static SQInteger
require(HSQUIRRELVM vm);
By default we want to give a set of standard commands to a SQ script.
static SQInteger max(HSQUIRRELVM vm)
Get the highest of two integers.
static SQInteger require(HSQUIRRELVM vm)
Load another file on runtime.
static SQInteger notifyallexceptions(HSQUIRRELVM vm)
Enable/disable stack trace showing for handled exceptions.
static SQInteger min(HSQUIRRELVM vm)
Get the lowest of two integers.
defines the Squirrel class
void squirrel_register_std(Squirrel *engine)
Register all standard functions we want to give to a script.
void squirrel_register_global_std(Squirrel *engine)
Register all standard functions that are available on first startup.