mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 15:34:09 +00:00
remove macros luaL_getn & luaL_setn
there allows compatibility with Lua 5.0 C/API see LUA_COMPAT_GETN in Lua 5.1
This commit is contained in:
parent
78f5f1cef1
commit
1488404804
@ -14,10 +14,6 @@
|
||||
|
||||
#include "lua.h"
|
||||
|
||||
|
||||
#define luaL_getn(L,i) ((int)lua_objlen(L, i))
|
||||
#define luaL_setn(L,i,j) ((void)0) /* no op! */
|
||||
|
||||
/* extra error code for `luaL_load' */
|
||||
#define LUA_ERRFILE (LUA_ERRERR+1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user