Group Simplesquirrel

Modules > Simplesquirrel

Yet another simple binding in C++11 for Squirrel scripting language.

Classes

Type Name
class ssq::Array
Squirrel intance of array object.
class ssq::Class
Squirrel class object.
class ssq::CompileException
Compile exception thrown during compilation.
class ssq::Enum
Squirrel table object.
class ssq::Exception
Raw exception.
class ssq::Function
Squirrel function.
class ssq::Instance
Squirrel intance of class object.
class ssq::Libs
class ssq::NotFoundException
Not Found exception thrown if object with a given name does not exist.
class ssq::Object
Raw Squirrel object.
class ssq::RuntimeException
Runtime exception thrown if something went wrong during execution.
class ssq::Script
Squirrel script object.
class ssq::SqWeakRef
Weak reference class that does not extend the life of the instance.
class ssq::Table
Squirrel table object.
class ssq::TypeException
Type exception thrown if casting between squirrel and C++ objects failed.
class ssq::VM
Squirrel Virtual Machine object.

Public Types

Type Name
typedef void(* ssq::SqCompileErrorFunc
typedef void(* ssq::SqErrorFunc
typedef void(* ssq::SqPrintFunc
typedef SQInteger(* ssq::SqRuntimeErrorFunc
enum ssq::Type

Public Functions

Type Name
SSQ_API const char * ssq::typeToStr (Type type)

Public Types Documentation

typedef SqCompileErrorFunc

typedef void(* ssq::SqCompileErrorFunc) (HSQUIRRELVM, const SQChar *, const SQChar *, SQInteger, SQInteger);

typedef SqErrorFunc

typedef void(* ssq::SqErrorFunc) (HSQUIRRELVM, const SQChar *,...);

typedef SqPrintFunc

typedef void(* ssq::SqPrintFunc) (HSQUIRRELVM, const SQChar *,...);

typedef SqRuntimeErrorFunc

typedef SQInteger(* ssq::SqRuntimeErrorFunc) (HSQUIRRELVM);

enum Type

enum ssq::Type {
    NULLPTR = OT_NULL,
    INTEGER = OT_INTEGER,
    FLOAT = OT_FLOAT,
    BOOL = OT_BOOL,
    STRING = OT_STRING,
    TABLE = OT_TABLE,
    ARRAY = OT_ARRAY,
    USERDATA = OT_USERDATA,
    CLOSURE = OT_CLOSURE,
    NATIVECLOSURE = OT_NATIVECLOSURE,
    GENERATOR = OT_GENERATOR,
    USERPOINTER = OT_USERPOINTER,
    THREAD = OT_THREAD,
    FUNCPROTO = OT_FUNCPROTO,
    CLASS = OT_CLASS,
    INSTANCE = OT_INSTANCE,
    WEAKREF = OT_WEAKREF,
    OUTER = OT_OUTER
};

Public Functions Documentation

function typeToStr

SSQ_API const char * ssq::typeToStr (
    Type type
)