diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-26 08:53:40 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-26 08:53:40 -0200 |
commit | 5a48255c9f75dea0799c1a3b55b9df11b2a666fb (patch) | |
tree | c3a1f3158f3f07e69f99ea7a61004f7dea52aaa3 /ltable.h | |
parent | bbab974717f9802066f56b939d4f053acc865f24 (diff) | |
download | lua-5a48255c9f75dea0799c1a3b55b9df11b2a666fb.tar.gz lua-5a48255c9f75dea0799c1a3b55b9df11b2a666fb.tar.bz2 lua-5a48255c9f75dea0799c1a3b55b9df11b2a666fb.zip |
invariant tests over tables performed externally, through a built-in
function (when DEBUG is ion).
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 1.13 1999/10/04 17:51:04 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.14 1999/10/14 19:13:31 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -23,7 +23,10 @@ void luaH_set (Hash *t, const TObject *key, const TObject *val); | |||
23 | int luaH_pos (const Hash *t, const TObject *r); | 23 | int luaH_pos (const Hash *t, const TObject *r); |
24 | void luaH_setint (Hash *t, int key, const TObject *val); | 24 | void luaH_setint (Hash *t, int key, const TObject *val); |
25 | const TObject *luaH_getint (const Hash *t, int key); | 25 | const TObject *luaH_getint (const Hash *t, int key); |
26 | unsigned long luaH_hash (const TObject *key); /* exported only for debugging */ | 26 | unsigned long luaH_hash (const TObject *key); |
27 | |||
28 | /* exported only for debugging */ | ||
29 | Node *luaH_mainposition (const Hash *t, const TObject *key); | ||
27 | 30 | ||
28 | 31 | ||
29 | #endif | 32 | #endif |