From 5a48255c9f75dea0799c1a3b55b9df11b2a666fb Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 26 Oct 1999 08:53:40 -0200 Subject: invariant tests over tables performed externally, through a built-in function (when DEBUG is ion). --- ltable.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'ltable.h') diff --git a/ltable.h b/ltable.h index 219574b9..e1d567f0 100644 --- a/ltable.h +++ b/ltable.h @@ -1,5 +1,5 @@ /* -** $Id: ltable.h,v 1.13 1999/10/04 17:51:04 roberto Exp roberto $ +** $Id: ltable.h,v 1.14 1999/10/14 19:13:31 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -23,7 +23,10 @@ void luaH_set (Hash *t, const TObject *key, const TObject *val); int luaH_pos (const Hash *t, const TObject *r); void luaH_setint (Hash *t, int key, const TObject *val); const TObject *luaH_getint (const Hash *t, int key); -unsigned long luaH_hash (const TObject *key); /* exported only for debugging */ +unsigned long luaH_hash (const TObject *key); + +/* exported only for debugging */ +Node *luaH_mainposition (const Hash *t, const TObject *key); #endif -- cgit v1.2.3-55-g6feb