summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-04 15:51:04 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-10-04 15:51:04 -0200
commit4343420d4d559a7d4cdacdbc1fd61552dcf59f04 (patch)
tree57e0bdd41e2f3a4ab70d3150022569751e3d02ad /ltable.h
parent1f7103e05d01a6a4c300a73bcfc8d9b17b2c20a4 (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.h b/ltable.h
index 6c8bbe40..034acbab 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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
21Hash *luaH_new (int nhash); 21Hash *luaH_new (int nhash);
22void luaH_free (Hash *frees); 22void luaH_free (Hash *t);
23Node *luaH_present (const Hash *t, const TObject *key); 23Node *luaH_present (const Hash *t, const TObject *key);
24void luaH_set (Hash *t, const TObject *ref, const TObject *val); 24void luaH_set (Hash *t, const TObject *ref, const TObject *val);
25int luaH_pos (const Hash *t, const TObject *r); 25int luaH_pos (const Hash *t, const TObject *r);