sq_newuserdata

Squirrel 2.2

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