Skip to content

Wider Lua compatibility...#144

Open
snichols wants to merge 4 commits intojeremyong:masterfrom
snichols:compatibility-wip
Open

Wider Lua compatibility...#144
snichols wants to merge 4 commits intojeremyong:masterfrom
snichols:compatibility-wip

Conversation

@snichols
Copy link

@snichols snichols commented Feb 6, 2016

Simplifying code that deals with various versions of Lua.

@ghost ghost mentioned this pull request Apr 10, 2016
@ghost
Copy link

ghost commented Apr 20, 2016

LuaJit 2.1

#if LUA_VERSION_NUM < 502
static void luaL_setmetatable(lua_State *L, const char *tname) {
    luaL_getmetatable(L, tname);
    lua_setmetatable(L, -2);
} /* luaL_setmetatable() */
#endif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant