lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Aug 25, 2011 at 10:59:13PM +0200, Murray S. Kucherawy wrote:
> > On Behalf Of Patrick Rapin
> > The following citation comes from chapter 2.8 of the reference manual
> Ah, thanks.  I was relying on the documentation in the individual functions

Well, actually the manual says under `lua_pushlightuserdata`:

    Userdata represent C values in Lua. A light userdata represents a
    pointer, a void*. It is a value (like a number): you do not create it,
    it has no individual metatable, and it is not collected (as it was
    never created). A light userdata is equal to "any" light userdata
    with the same C address.

Dirk