Skip to content

0.5

Compare
Choose a tag to compare
@patrickfrey patrickfrey released this 26 Jul 14:33
· 131 commits to master since this release

Fix issue #2:

Use
lua_pushvalue( ls, -1);
int hnd = luaL_ref( ls, LUA_REGISTRYINDEX);
and
lua_rawgeti( ls, LUA_REGISTRYINDEX, hnd);

instead of Lua table with custom counters as keys for object references stored as integers in the C++ structures of Mewa.