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