lua_pushglobaltable return value
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: lua_pushglobaltable return value
- From: Peter Melnichenko <mpeterval@...>
- Date: 2016年5月27日 18:47:58 +0300
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