sq_getprintfunc

Squirrel 3.0

sq_getprintfunc

SQPRINTFUNCTION sq_getprintfunc(HSQUIRRELVM v);

returns the current print 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.