diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-05 17:15:33 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-05 17:15:33 -0300 |
commit | 292c9530183a8e9939cff9a7d30fc50e85031698 (patch) | |
tree | 20dc1c90af03ef60396d6a8df737369fb8238f21 /ltable.h | |
parent | c542aac0b935a65203244c130cdfa700113f0bc8 (diff) | |
download | lua-292c9530183a8e9939cff9a7d30fc50e85031698.tar.gz lua-292c9530183a8e9939cff9a7d30fc50e85031698.tar.bz2 lua-292c9530183a8e9939cff9a7d30fc50e85031698.zip |
new auxiliar function `luaH_setstr'
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 1.20 2000/05/08 19:32:53 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 1.21 2000/06/05 20:07:53 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 | */ |
@@ -25,6 +25,7 @@ void luaH_remove (Hash *t, TObject *key); | |||
25 | void luaH_set (lua_State *L, Hash *t, const TObject *key, const TObject *val); | 25 | void luaH_set (lua_State *L, Hash *t, const TObject *key, const TObject *val); |
26 | int luaH_pos (lua_State *L, const Hash *t, const TObject *r); | 26 | int luaH_pos (lua_State *L, const Hash *t, const TObject *r); |
27 | void luaH_setint (lua_State *L, Hash *t, int key, const TObject *val); | 27 | void luaH_setint (lua_State *L, Hash *t, int key, const TObject *val); |
28 | void luaH_setstr (lua_State *L, Hash *t, TString *key, const TObject *val); | ||
28 | unsigned long luaH_hash (lua_State *L, const TObject *key); | 29 | unsigned long luaH_hash (lua_State *L, const TObject *key); |
29 | const TObject *luaH_getglobal (lua_State *L, const char *name); | 30 | const TObject *luaH_getglobal (lua_State *L, const char *name); |
30 | 31 | ||