Commit 6ad27c42 by Stéphane Graber

Merge pull request #504 from thmo/lua53

Fix Lua 5.3 compatibility code.
parents ae829be3 98088cfb
......@@ -39,8 +39,10 @@
#endif
#if LUA_VERSION_NUM >= 503
#ifndef luaL_checkunsigned
#define luaL_checkunsigned(L,n) ((lua_Unsigned)luaL_checkinteger(L,n))
#endif
#endif
#ifdef NO_CHECK_UDATA
#define checkudata(L,i,tname) lua_touserdata(L, i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment