summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-11-24 15:39:56 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-11-24 15:39:56 -0200
commit96253ed8ceb38afa50887ccb5500442b5b220f08 (patch)
tree4b42b80f781b0cbe95782f8e8ebec06d85e80ae4 /ltable.h
parent35d6b1505702b0f4a2eee0e6d2f8dfc50943a1a7 (diff)
downloadlua-96253ed8ceb38afa50887ccb5500442b5b220f08.tar.gz
lua-96253ed8ceb38afa50887ccb5500442b5b220f08.tar.bz2
lua-96253ed8ceb38afa50887ccb5500442b5b220f08.zip
better support for 64-bit machines (avoid excessive use of longs)
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 00dfd1c0..be147e41 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.h,v 1.23 2000/06/06 16:31:41 roberto Exp roberto $ 2** $Id: ltable.h,v 1.24 2000/08/31 14:08:27 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*/
@@ -24,7 +24,7 @@ TObject *luaH_set (lua_State *L, Hash *t, const TObject *key);
24Node * luaH_next (lua_State *L, const Hash *t, const TObject *r); 24Node * luaH_next (lua_State *L, const Hash *t, const TObject *r);
25TObject *luaH_setint (lua_State *L, Hash *t, int key); 25TObject *luaH_setint (lua_State *L, Hash *t, int key);
26void luaH_setstrnum (lua_State *L, Hash *t, TString *key, Number val); 26void luaH_setstrnum (lua_State *L, Hash *t, TString *key, Number val);
27unsigned long luaH_hash (lua_State *L, const TObject *key); 27luint32 luaH_hash (lua_State *L, const TObject *key);
28const TObject *luaH_getglobal (lua_State *L, const char *name); 28const TObject *luaH_getglobal (lua_State *L, const char *name);
29 29
30/* exported only for debugging */ 30/* exported only for debugging */