aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 396ebdcc..bbd96345 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.73 2004/10/18 12:51:44 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.74 2005/01/10 17:31:50 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -15,6 +15,12 @@
15#include "lua.h" 15#include "lua.h"
16 16
17 17
18#if !LUA_COMPAT_GETN
19#define luaL_getn(L,i) lua_objsize(L, i)
20#define luaL_setn(L,i,j) ((void)0) /* no op! */
21#endif
22
23
18/* extra error code for `luaL_load' */ 24/* extra error code for `luaL_load' */
19#define LUA_ERRFILE (LUA_ERRERR+1) 25#define LUA_ERRFILE (LUA_ERRERR+1)
20 26