sq_newuserdata

Squirrel 3.0

sq_newuserdata

SQUserPointer sq_newuserdata(HSQUIRRELVM v, SQUnsignedInteger size);

creates a new userdata and pushes it in the stack

parameters:
HSQUIRRELVM v

the target VM

SQUnsignedInteger size

the size of the userdata that as to be created in bytes