aboutsummaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-04-25 16:24:10 -0300
commit8718fda9b24fa148ffe1a06fb36a7aa2ed628bdc (patch)
tree4ad0b914b84005b706fb6c9af302132d789b133a /ltable.h
parent8c3c3e769195facf6b8c061f4fab1d86e6606be8 (diff)
downloadlua-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.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/ltable.h b/ltable.h
index 0036198f..05b554f6 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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
21extern const Node luaH_dummynode; 21extern const Node luaH_dummynode;
22 22
23const TValue *luaH_getnum (Table *t, int key); 23LUAI_FUNC const TValue *luaH_getnum (Table *t, int key);
24TValue *luaH_setnum (lua_State *L, Table *t, int key); 24LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key);
25const TValue *luaH_getstr (Table *t, TString *key); 25LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
26TValue *luaH_setstr (lua_State *L, Table *t, TString *key); 26LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key);
27const TValue *luaH_get (Table *t, const TValue *key); 27LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
28TValue *luaH_set (lua_State *L, Table *t, const TValue *key); 28LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
29Table *luaH_new (lua_State *L, int narray, int lnhash); 29LUAI_FUNC Table *luaH_new (lua_State *L, int narray, int lnhash);
30void luaH_resizearray (lua_State *L, Table *t, int nasize); 30LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize);
31void luaH_free (lua_State *L, Table *t); 31LUAI_FUNC void luaH_free (lua_State *L, Table *t);
32int luaH_next (lua_State *L, Table *t, StkId key); 32LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
33int luaH_getn (Table *t); 33LUAI_FUNC int luaH_getn (Table *t);
34 34
35/* exported only for debugging */ 35/* exported only for debugging */
36Node *luaH_mainposition (const Table *t, const TValue *key); 36LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
37 37
38 38
39#endif 39#endif