diff options
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.89 2007/02/07 17:51:21 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.90 2007/05/15 18:46:12 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -15,18 +15,6 @@ #include "lua.h" -#if defined(LUA_COMPAT_GETN) -LUALIB_API int (luaL_getn) (lua_State *L, int t); -LUALIB_API void (luaL_setn) (lua_State *L, int t, int n); -#else -#define luaL_getn(L,i) ((int)lua_objlen(L, i)) -#define luaL_setn(L,i,j) ((void)0) /* no op! */ -#endif - -#if defined(LUA_COMPAT_OPENLIB) -#define luaI_openlib luaL_openlib -#endif - /* extra error code for `luaL_load' */ #define LUA_ERRFILE (LUA_ERRERR+1) |