From 162b66624d6868e71010ef3988b482fc811def34 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 10 Jan 2005 14:31:30 -0200 Subject: no more `lua_userinit' macro --- ltests.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 9338851c..57fde1a7 100644 --- a/ltests.h +++ b/ltests.h @@ -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 -- cgit v1.2.3-55-g6feb