Table of contents
-
Squirrel 2.2 Reference Manual
- Introduction
- The language
-
Embedding Squirrel
- Memory management
- Unicode
- Squirrel on 64 bits architectures
- Squirrel with double precision floats
- Error conventions
- Initializing Squirrel
- The Stack
- Runtime error handling
- Compiling a script
- Calling a function
- Create a C function
- Tables and arrays manipulation
- Userdata and UserPointers
- The registry table
- Mantaining strong references to Squirrel values from the C API
- Debug Interface
-
API Reference
- Virtual Machine
- Compiler
- Stack Operations
-
Object creation and handling
- sq_bindenv
- sq_createinstance
- sq_getbool
- sq_getclosureinfo
- sq_getfloat
- sq_getinstanceup
- sq_getinteger
- sq_getscratchpad
- sq_getsize
- sq_getstring
- sq_getthread
- sq_gettype
- sq_gettypetag
- sq_getuserdata
- sq_getuserpointer
- sq_newarray
- sq_newclass
- sq_newclosure
- sq_newtable
- sq_newuserdata
- sq_pushbool
- sq_pushfloat
- sq_pushinteger
- sq_pushnull
- sq_pushstring
- sq_pushuserpointer
- sq_setclassudsize
- sq_setinstanceup
- sq_setnativeclosurename
- sq_setparamscheck
- sq_setreleasehook
- sq_settypetag
- sq_tobool
- sq_tostring
- Calls
-
Objects manipulation
- sq_arrayappend
- sq_arrayinsert
- sq_arraypop
- sq_arrayremove
- sq_arrayresize
- sq_arrayreverse
- sq_clear
- sq_clone
- sq_createslot
- sq_deleteslot
- sq_get
- sq_getattributes
- sq_getclass
- sq_getdelegate
- sq_getfreevariable
- sq_getweakrefval
- sq_instanceof
- sq_newslot
- sq_next
- sq_rawdeleteslot
- sq_rawget
- sq_rawset
- sq_set
- sq_setattributes
- sq_setdelegate
- sq_setfreevariable
- sq_weakref
- Bytecode serialization
- Raw object handling
- Debug interface