Garry's Mod Wiki

light userdata

Userdata is a type primarily used in the Lua C API. The userdata points to data in C, such as an object. There are two types of userdata: full userdata and light userdata. The word "userdata" alone implies full userdata. See also userdata.

Light userdata represents a pointer as a value in Lua. Unlike full userdata, light userdata is not garbage collected, has no individual metatable, and is only equal to other light userdata when the pointers they hold are equal. This is not inherently used in Garry's Mod.

See the Programming in Lua documentation for more information.

Page Links


Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 3
Generate Html 1
SaveChanges 9
Render Body 0
Render Sidebar 8