Type Userdata
Library none
Keywords userdata


The type userdata is provided to allow arbitrary C data to be stored in Lua variables. This type corresponds to a block of raw memory and has no pre-defined operations in Lua, except assignment and identity test.

Content in this page is cited from the Lua 5.1 Reference Manual, freely available under the terms of the Lua license.