diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-04-25 16:24:10 -0300 |
commit | 8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch) | |
tree | 4ad0b914b84005b706fb6c9af302132d789b133a /ltable.h | |
parent | 8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff) | |
download | lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.gz lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.tar.bz2 lua-8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc.zip |
added LUAI_FUNC to functions not in the API
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 2.5 2005/01/05 18:20:51 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 2.6 2005/03/16 16:58:41 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,20 +20,20 @@ | |||
20 | 20 | ||
21 | extern const Node luaH_dummynode; | 21 | extern const Node luaH_dummynode; |
22 | 22 | ||
23 | const TValue *luaH_getnum (Table *t, int key); | 23 | LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); |
24 | TValue *luaH_setnum (lua_State *L, Table *t, int key); | 24 | LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); |
25 | const TValue *luaH_getstr (Table *t, TString *key); | 25 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); |
26 | TValue *luaH_setstr (lua_State *L, Table *t, TString *key); | 26 | LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key); |
27 | const TValue *luaH_get (Table *t, const TValue *key); | 27 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); |
28 | TValue *luaH_set (lua_State *L, Table *t, const TValue *key); | 28 | LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); |
29 | Table *luaH_new (lua_State *L, int narray, int lnhash); | 29 | LUAI_FUNC Table *luaH_new (lua_State *L, int narray, int lnhash); |
30 | void luaH_resizearray (lua_State *L, Table *t, int nasize); | 30 | LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize); |
31 | void luaH_free (lua_State *L, Table *t); | 31 | LUAI_FUNC void luaH_free (lua_State *L, Table *t); |
32 | int luaH_next (lua_State *L, Table *t, StkId key); | 32 | LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); |
33 | int luaH_getn (Table *t); | 33 | LUAI_FUNC int luaH_getn (Table *t); |
34 | 34 | ||
35 | /* exported only for debugging */ | 35 | /* exported only for debugging */ |
36 | Node *luaH_mainposition (const Table *t, const TValue *key); | 36 | LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); |
37 | 37 | ||
38 | 38 | ||
39 | #endif | 39 | #endif |