summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-08-16 17:52:00 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-08-16 17:52:00 -0300
commitc787dccd9b5c3e55547a2c4bb598c0276de65034 (patch)
treec4cdf2f7319fee48e048472a2044119f541e8da2 /ltable.h
parentb44e35b773bcaa9891d80a117392911ab5f656e5 (diff)
downloadlua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.gz
lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.bz2
lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.zip
"const" !!!
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ltable.h b/ltable.h
index b6a46cd2..6c8bbe40 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.h,v 1.10 1999/01/25 17:40:10 roberto Exp roberto $ 2** $Id: ltable.h,v 1.11 1999/02/23 14:57:28 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*/
@@ -20,11 +20,11 @@
20 20
21Hash *luaH_new (int nhash); 21Hash *luaH_new (int nhash);
22void luaH_free (Hash *frees); 22void luaH_free (Hash *frees);
23Node *luaH_present (Hash *t, TObject *key); 23Node *luaH_present (const Hash *t, const TObject *key);
24void luaH_set (Hash *t, TObject *ref, TObject *val); 24void luaH_set (Hash *t, const TObject *ref, const TObject *val);
25int luaH_pos (Hash *t, TObject *r); 25int luaH_pos (const Hash *t, const TObject *r);
26void luaH_setint (Hash *t, int ref, TObject *val); 26void luaH_setint (Hash *t, int ref, const TObject *val);
27TObject *luaH_getint (Hash *t, int ref); 27TObject *luaH_getint (const Hash *t, int ref);
28 28
29 29
30#endif 30#endif