aboutsummaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ltable.h b/ltable.h
index 5a4076bc..e953bb70 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.h,v 1.44 2003/03/18 12:50:04 roberto Exp roberto $ 2** $Id: ltable.h,v 1.45 2003/08/26 12:04:13 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*/
@@ -15,18 +15,18 @@
15#define gval(n) (&(n)->i_val) 15#define gval(n) (&(n)->i_val)
16 16
17 17
18const TObject *luaH_getnum (Table *t, int key); 18const TValue *luaH_getnum (Table *t, int key);
19TObject *luaH_setnum (lua_State *L, Table *t, int key); 19TValue *luaH_setnum (lua_State *L, Table *t, int key);
20const TObject *luaH_getstr (Table *t, TString *key); 20const TValue *luaH_getstr (Table *t, TString *key);
21TObject *luaH_setstr (lua_State *L, Table *t, TString *key); 21TValue *luaH_setstr (lua_State *L, Table *t, TString *key);
22const TObject *luaH_get (Table *t, const TObject *key); 22const TValue *luaH_get (Table *t, const TValue *key);
23TObject *luaH_set (lua_State *L, Table *t, const TObject *key); 23TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
24Table *luaH_new (lua_State *L, int narray, int lnhash); 24Table *luaH_new (lua_State *L, int narray, int lnhash);
25void luaH_free (lua_State *L, Table *t); 25void luaH_free (lua_State *L, Table *t);
26int luaH_next (lua_State *L, Table *t, StkId key); 26int luaH_next (lua_State *L, Table *t, StkId key);
27 27
28/* exported only for debugging */ 28/* exported only for debugging */
29Node *luaH_mainposition (const Table *t, const TObject *key); 29Node *luaH_mainposition (const Table *t, const TValue *key);
30 30
31 31
32#endif 32#endif