Roberto Ierusalimschy 21 年之前
父节点
当前提交
a6179adf12
共有 2 个文件被更改,包括 3 次插入4 次删除
  1. 1 3
      lauxlib.h
  2. 2 1
      ltests.h

+ 1 - 3
lauxlib.h

@@ -1,5 +1,5 @@
 /*
-** $Id: lauxlib.h,v 1.67 2004/06/21 20:05:29 roberto Exp roberto $
+** $Id: lauxlib.h,v 1.68 2004/06/29 16:57:56 roberto Exp roberto $
 ** Auxiliary functions for building Lua libraries
 ** See Copyright Notice in lua.h
 */
@@ -25,8 +25,6 @@ typedef struct luaL_reg {
 } luaL_reg;
 
 
-typedef int (*luaL_Loader)(lua_State *L, const char *name);
-
 LUALIB_API void luaL_openlib (lua_State *L, const char *libname,
                                const luaL_reg *l, int nup);
 LUALIB_API int luaL_getmetafield (lua_State *L, int obj, const char *e);

+ 2 - 1
ltests.h

@@ -1,5 +1,5 @@
 /*
-** $Id: ltests.h,v 2.5 2004/05/03 12:28:43 roberto Exp roberto $
+** $Id: ltests.h,v 2.6 2004/06/02 19:09:21 roberto Exp roberto $
 ** Internal Header for Debugging of the Lua Implementation
 ** See Copyright Notice in lua.h
 */
@@ -17,6 +17,7 @@
 
 #undef NDEBUG
 #include <assert.h>
+#undef lua_assert
 #define lua_assert(c)           assert(c)
 #define check_exp(c,e)		(lua_assert(c), (e))
 #undef api_check