no more `lua_userinit' macro

This commit is contained in:
Roberto Ierusalimschy
2005-01-10 14:31:30 -02:00
parent e791f025c0
commit 162b66624d
3 changed files with 15 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.h,v 2.9 2004/07/16 13:17:00 roberto Exp roberto $
** $Id: ltests.h,v 2.10 2004/09/10 17:30:46 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -65,8 +65,9 @@ extern int islocked;
int luaB_opentests (lua_State *L);
#undef lua_userinit
#define lua_userinit(L) { luaopen_stdlibs(L); luaB_opentests(L); }
#ifdef lua_c
#define luaopen_stdlibs(L) { (luaopen_stdlibs)(L); luaB_opentests(L); }
#endif