easier to add new initialization functions

This commit is contained in:
Roberto Ierusalimschy
2001-02-06 16:18:58 -02:00
parent 1f917e709c
commit 322b7b5fc5
3 changed files with 14 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.h,v 1.2 2001/02/05 19:08:01 roberto Exp roberto $
** $Id: ltests.h,v 1.3 2001/02/06 16:01:29 roberto Exp roberto $
** Internal Header for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -49,7 +49,7 @@ extern lua_State *lua_state;
void luaB_opentests (lua_State *L);
#define LUA_USERINIT(L) luaB_opentests(L)
#define LUA_USERINIT(L) (luaB_opentests(L), openstdlibs(L))
#endif