aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lauxlib.h4
-rw-r--r--ltests.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 176aa240..3b2ceb2b 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.67 2004/06/21 20:05:29 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.68 2004/06/29 16:57:56 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*/
@@ -25,8 +25,6 @@ typedef struct luaL_reg {
25} luaL_reg; 25} luaL_reg;
26 26
27 27
28typedef int (*luaL_Loader)(lua_State *L, const char *name);
29
30LUALIB_API void luaL_openlib (lua_State *L, const char *libname, 28LUALIB_API void luaL_openlib (lua_State *L, const char *libname,
31 const luaL_reg *l, int nup); 29 const luaL_reg *l, int nup);
32LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *e); 30LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *e);
diff --git a/ltests.h b/ltests.h
index 0f754917..009884a9 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.5 2004/05/03 12:28:43 roberto Exp roberto $ 2** $Id: ltests.h,v 2.6 2004/06/02 19:09:21 roberto Exp roberto $
3** Internal Header for Debugging of the Lua Implementation 3** Internal Header for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -17,6 +17,7 @@
17 17
18#undef NDEBUG 18#undef NDEBUG
19#include <assert.h> 19#include <assert.h>
20#undef lua_assert
20#define lua_assert(c) assert(c) 21#define lua_assert(c) assert(c)
21#define check_exp(c,e) (lua_assert(c), (e)) 22#define check_exp(c,e) (lua_assert(c), (e))
22#undef api_check 23#undef api_check