lua_newuserdata

Function lua_newuserdata 

Source
pub unsafe fn lua_newuserdata(L: *mut lua_State, size: usize) -> *mut c_void
Expand description

Creates a new userdata of the given size and pushes it onto the stack.