From 79c8edb6c423b48270c1f61df6fd5a889ca5da0e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 17 Jul 2002 13:25:13 -0300 Subject: new names for light userdata operations --- ltests.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'ltests.h') diff --git a/ltests.h b/ltests.h index 9a03d27a..821ce07c 100644 --- a/ltests.h +++ b/ltests.h @@ -1,5 +1,5 @@ /* -** $Id: ltests.h,v 1.13 2002/06/11 16:26:12 roberto Exp roberto $ +** $Id: ltests.h,v 1.14 2002/06/13 13:45:31 roberto Exp roberto $ ** Internal Header for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -47,16 +47,15 @@ extern int islocked; #define lua_unlock(L) lua_assert(--(**cast(int **, L)) == 0) -void luaB_opentests (lua_State *L); +int luaB_opentests (lua_State *L); -#define LUA_USERINIT(L) (luaB_opentests(L), openstdlibs(L)) +#define lua_userinit(L) (luaB_opentests(L) + openstdlibs(L)) /* change some sizes to give some bugs a chance */ #define LUAL_BUFFERSIZE 27 -#define ZBSIZE 29 #define MINSTRTABSIZE 2 #endif -- cgit v1.2.3-55-g6feb