diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-06-06 10:30:25 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-06-06 10:30:25 -0300 |
commit | d987cf1f812b131788029d6de0c81ed64020e522 (patch) | |
tree | d67230d0bd44584fc1616349ca14fb6ebfc94418 /ltable.h | |
parent | eca9fa02d2887d06cee5e2f742f7e3031ac76a51 (diff) | |
download | lua-d987cf1f812b131788029d6de0c81ed64020e522.tar.gz lua-d987cf1f812b131788029d6de0c81ed64020e522.tar.bz2 lua-d987cf1f812b131788029d6de0c81ed64020e522.zip |
new mark LUAI_DATA for extern data
Diffstat (limited to 'ltable.h')
-rw-r--r-- | ltable.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.h,v 2.6 2005/03/16 16:58:41 roberto Exp roberto $ | 2 | ** $Id: ltable.h,v 2.7 2005/04/25 19:24:10 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 | */ |
@@ -18,7 +18,7 @@ | |||
18 | #define key2tval(n) (cast(const TValue *, gkey(n))) | 18 | #define key2tval(n) (cast(const TValue *, gkey(n))) |
19 | 19 | ||
20 | 20 | ||
21 | extern const Node luaH_dummynode; | 21 | LUAI_DATA const Node luaH_dummynode; |
22 | 22 | ||
23 | LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); | 23 | LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); |
24 | LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); | 24 | LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); |