sq_geterrorfunc

Squirrel 3.0

sq_geterrorfunc

SQPRINTFUNCTION sq_geterrorfunc(HSQUIRRELVM v);

returns the current error function of the given Virtual machine. (see sq_setprintfunc())

parameters:
HSQUIRRELVM v

the target VM

return:

a pointer to a SQPRINTFUNCTION, or NULL if no function has been set.