diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-06-30 09:58:44 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-06-30 09:58:44 -0300 |
commit | a6179adf12d78e7e1fedee42440127f3e1786f3d (patch) | |
tree | 8b64225aa55c6c621e3fcf607413316f073a127f | |
parent | 02a2c01ccd4dda04636a30cb60b6dd52511fd790 (diff) | |
download | lua-a6179adf12d78e7e1fedee42440127f3e1786f3d.tar.gz lua-a6179adf12d78e7e1fedee42440127f3e1786f3d.tar.bz2 lua-a6179adf12d78e7e1fedee42440127f3e1786f3d.zip |
detail
-rw-r--r-- | lauxlib.h | 4 | ||||
-rw-r--r-- | ltests.h | 3 |
2 files changed, 3 insertions, 4 deletions
@@ -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 | ||
28 | typedef int (*luaL_Loader)(lua_State *L, const char *name); | ||
29 | |||
30 | LUALIB_API void luaL_openlib (lua_State *L, const char *libname, | 28 | LUALIB_API void luaL_openlib (lua_State *L, const char *libname, |
31 | const luaL_reg *l, int nup); | 29 | const luaL_reg *l, int nup); |
32 | LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *e); | 30 | LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *e); |
@@ -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 |