light userdata

From the Lua Reference Manual:

(Full) userdata represent C values in Lua.

A light userdata represents a pointer. It is a value (like a number): you do not create it, it has no individual metatable, and it is not garbage collected (as it was never created).

A light userdata is equal to "any" light userdata with the same C address.

Other Languages