lua-users home
lua-l archive

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


> If you need a "non-volatile" reference to a Lua object in C, you must use
> references (see lua_ref).

In version 2.5, the same C type is used to represent both Lua objects
and references thereto.  It would be nice to have some comile-time
protection against conflating the two.  Perhaps this issue has been
addressed in Lua 3.1?

Norman