diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-04 15:51:04 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-10-04 15:51:04 -0200 |
commit | 4343420d4d559a7d4cdacdbc1fd61552dcf59f04 (patch) | |
tree | 57e0bdd41e2f3a4ab70d3150022569751e3d02ad /ltable.h | |
parent | 1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4 (diff) | |
download | lua-4343420d4d559a7d4cdacdbc1fd61552dcf59f04.tar.gz lua-4343420d4d559a7d4cdacdbc1fd61552dcf59f04.tar.bz2 lua-4343420d4d559a7d4cdacdbc1fd61552dcf59f04.zip |
simplified version of `gc' tag method (only for userdata now).
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 1.11 1999/02/23 14:57:28 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.12 1999/08/16 20:52:00 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 | */ |
@@ -19,7 +19,7 @@ | |||
19 | #define luaH_move(t,from,to) (luaH_setint(t, to, luaH_getint(t, from))) | 19 | #define luaH_move(t,from,to) (luaH_setint(t, to, luaH_getint(t, from))) |
20 | 20 | ||
21 | Hash *luaH_new (int nhash); | 21 | Hash *luaH_new (int nhash); |
22 | void luaH_free (Hash *frees); | 22 | void luaH_free (Hash *t); |
23 | Node *luaH_present (const Hash *t, const TObject *key); | 23 | Node *luaH_present (const Hash *t, const TObject *key); |
24 | void luaH_set (Hash *t, const TObject *ref, const TObject *val); | 24 | void luaH_set (Hash *t, const TObject *ref, const TObject *val); |
25 | int luaH_pos (const Hash *t, const TObject *r); | 25 | int luaH_pos (const Hash *t, const TObject *r); |