Newproxy

From GiderosMobile
Revision as of 16:48, 2 February 2025 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> '''Class:''' (global)<br/> === Description === Creates a blank userdata, with the option for it to have a metatable....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6
Class: (global)

Description

Creates a blank userdata, with the option for it to have a metatable.

(userdata) = newproxy(addMetatable)

Parameters

addMetatable: (bool) add a metatable (default = false)

Return values

Returns (userdata) userdata is one of the basic types in Lua

See Also

https://www.lua.org/pil/28.1.html