1234567891011121314151617181920212223242526272829303132 |
- .. _stdlib_stdauxlib:
- ===============
- The Aux library
- ===============
- The aux library implements default handlers for compiler and runtime errors and a stack dumping.
- +++++++++++
- C API
- +++++++++++
- .. _sqstd_seterrorhandlers:
- .. c:function:: void sqstd_seterrorhandlers(HSQUIRRELVM v)
- :param HSQUIRRELVM v: the target VM
- initialize compiler and runtime error handlers, the handlers
- use the print function set through(:ref:`sq_setprintfunc <sq_setprintfunc>`) to output
- the error.
- .. _sqstd_printcallstack:
- .. c:function:: void sqstd_printcallstack(HSQUIRRELVM v)
- :param HSQUIRRELVM v: the target VM
- prints the call stack and stack contents. the function
- uses the print function set through(:ref:`sq_setprintfunc <sq_setprintfunc>`) to output
- the stack dump.
|