#include <sstream>
#include "scripting/squirrel_error.hpp"
#include "scripting/wrapper.hpp"
Go to the source code of this file.
Namespaces | |
namespace | scripting |
Functions | |
void | scripting::init_squirrel (bool enable_debugger) |
void | scripting::exit_squirrel () |
void | scripting::update_debugger () |
std::string | scripting::squirrel2string (HSQUIRRELVM v, SQInteger i) |
void | scripting::print_squirrel_stack (HSQUIRRELVM v) |
SQInteger | scripting::squirrel_read_char (SQUserPointer file) |
HSQOBJECT | scripting::create_thread (HSQUIRRELVM vm) |
HSQOBJECT | scripting::vm_to_object (HSQUIRRELVM vm) |
HSQUIRRELVM | scripting::object_to_vm (HSQOBJECT object) |
void | scripting::compile_script (HSQUIRRELVM vm, std::istream &in, const std::string &sourcename) |
void | scripting::compile_and_run (HSQUIRRELVM vm, std::istream &in, const std::string &sourcename) |
template<typename T> | |
void | scripting::expose_object (HSQUIRRELVM v, SQInteger table_idx, T *object, const std::string &name, bool free=false) |
static void | scripting::unexpose_object (HSQUIRRELVM v, SQInteger table_idx, const std::string &name) |
void | scripting::store_float (HSQUIRRELVM vm, const char *name, float val) |
void | scripting::store_int (HSQUIRRELVM vm, const char *name, int val) |
void | scripting::store_string (HSQUIRRELVM vm, const char *name, const std::string &val) |
void | scripting::store_bool (HSQUIRRELVM vm, const char *name, bool val) |
bool | scripting::has_float (HSQUIRRELVM vm, const char *name) |
bool | scripting::has_int (HSQUIRRELVM vm, const char *name) |
bool | scripting::has_string (HSQUIRRELVM vm, const char *name) |
bool | scripting::has_bool (HSQUIRRELVM vm, const char *name) |
bool | scripting::get_float (HSQUIRRELVM vm, const char *name, float &val) |
bool | scripting::get_int (HSQUIRRELVM vm, const char *name, int &val) |
bool | scripting::get_string (HSQUIRRELVM vm, const char *name, std::string &val) |
bool | scripting::get_bool (HSQUIRRELVM vm, const char *name, bool &val) |
float | scripting::read_float (HSQUIRRELVM vm, const char *name) |
int | scripting::read_int (HSQUIRRELVM vm, const char *name) |
std::string | scripting::read_string (HSQUIRRELVM vm, const char *name) |
bool | scripting::read_bool (HSQUIRRELVM vm, const char *name) |
Variables | |
HSQUIRRELVM | scripting::global_vm |