lua-users home
lua-l archive

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


I was reading this page of the manual: http://www.lua.org/manual/2.4/node19.html

...particularly this part:

Whenever the referenced object is needed, a call to lua_getref returns a handle to it, while lua_pushref pushes the object on the stack. If the object has been collected, lua_getref returns LUA_NOOBJECT , and lua_pushobject issues an error.

Really "lua_pushobject"? Is that correct? It seems like that is a typo and it should say lua_pushref.

grep didn't find lua_pushobject.