summaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-07-17 13:25:13 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-07-17 13:25:13 -0300
commit79c8edb6c423b48270c1f61df6fd5a889ca5da0e (patch)
tree1b79c096472f5f799f5576561e831b0d992c8cd0 /ltests.h
parente5146fb01f1ccb40c2663e745feffbf642cbf862 (diff)
downloadlua-github-79c8edb6c423b48270c1f61df6fd5a889ca5da0e.tar.gz
new names for light userdata operations
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h7
1 files changed, 3 insertions, 4 deletions
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