diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-12-04 16:33:40 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-12-04 16:33:40 -0200 |
commit | 4894c2796277b47b0ffc8983e8231d2cc95ee09b (patch) | |
tree | dc702c79716a42f22301bc5b9b5798a28173f7c2 /ltable.h | |
parent | 10ac68c648e0e1d23fe5485bc711df8fc71b6ae3 (diff) | |
download | lua-4894c2796277b47b0ffc8983e8231d2cc95ee09b.tar.gz lua-4894c2796277b47b0ffc8983e8231d2cc95ee09b.tar.bz2 lua-4894c2796277b47b0ffc8983e8231d2cc95ee09b.zip |
lua_Number defined in lua.h (1st version)
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 1.24 2000/08/31 14:08:27 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.25 2000/11/24 17:39:56 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 | */ |
@@ -17,13 +17,13 @@ | |||
17 | Hash *luaH_new (lua_State *L, int nhash); | 17 | Hash *luaH_new (lua_State *L, int nhash); |
18 | void luaH_free (lua_State *L, Hash *t); | 18 | void luaH_free (lua_State *L, Hash *t); |
19 | const TObject *luaH_get (lua_State *L, const Hash *t, const TObject *key); | 19 | const TObject *luaH_get (lua_State *L, const Hash *t, const TObject *key); |
20 | const TObject *luaH_getnum (const Hash *t, Number key); | 20 | const TObject *luaH_getnum (const Hash *t, lua_Number key); |
21 | const TObject *luaH_getstr (const Hash *t, TString *key); | 21 | const TObject *luaH_getstr (const Hash *t, TString *key); |
22 | void luaH_remove (Hash *t, TObject *key); | 22 | void luaH_remove (Hash *t, TObject *key); |
23 | TObject *luaH_set (lua_State *L, Hash *t, const TObject *key); | 23 | TObject *luaH_set (lua_State *L, Hash *t, const TObject *key); |
24 | Node * luaH_next (lua_State *L, const Hash *t, const TObject *r); | 24 | Node * luaH_next (lua_State *L, const Hash *t, const TObject *r); |
25 | TObject *luaH_setint (lua_State *L, Hash *t, int key); | 25 | TObject *luaH_setint (lua_State *L, Hash *t, int key); |
26 | void luaH_setstrnum (lua_State *L, Hash *t, TString *key, Number val); | 26 | void luaH_setstrnum (lua_State *L, Hash *t, TString *key, lua_Number val); |
27 | luint32 luaH_hash (lua_State *L, const TObject *key); | 27 | luint32 luaH_hash (lua_State *L, const TObject *key); |
28 | const TObject *luaH_getglobal (lua_State *L, const char *name); | 28 | const TObject *luaH_getglobal (lua_State *L, const char *name); |
29 | 29 | ||