sq_getforeignptr

Squirrel 3.0

sq_getforeignptr

SQUserPointer sq_getforeignptr(HSQUIRRELVM v);

Returns the foreign pointer of a VM instance.

parameters:
HSQUIRRELVM v

the target VM

return:

the current VMs foreign pointer.