diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-17 13:25:13 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-07-17 13:25:13 -0300 |
commit | 79c8edb6c423b48270c1f61df6fd5a889ca5da0e (patch) | |
tree | 1b79c096472f5f799f5576561e831b0d992c8cd0 /ltests.h | |
parent | e5146fb01f1ccb40c2663e745feffbf642cbf862 (diff) | |
download | lua-github-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.tar.gz |
new names for light userdata operations
Diffstat (limited to 'ltests.h')
-rw-r--r-- | ltests.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |