lua-users home
lua-l archive

lua_pushglobaltable return value

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


Hello,
Lua manual for 5.3 says that lua_pushglobaltable returns void,
but in fact it returns int because it expands to lua_rawgeti which
was changed to return type of pushed value in Lua 5.3. IMO either
the manual should be updated or definition of lua_pushglobaltable
should be fixed to not return anything.
-- Peter

AltStyle によって変換されたページ (->オリジナル) /