summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-06-06 10:30:25 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-06-06 10:30:25 -0300
commitd987cf1f812b131788029d6de0c81ed64020e522 (patch)
treed67230d0bd44584fc1616349ca14fb6ebfc94418 /ltable.h
parenteca9fa02d2887d06cee5e2f742f7e3031ac76a51 (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.h b/ltable.h
index 05b554f6..4b9b11b3 100644
--- a/ltable.h
+++ b/ltable.h
@@ -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
21extern const Node luaH_dummynode; 21LUAI_DATA const Node luaH_dummynode;
22 22
23LUAI_FUNC const TValue *luaH_getnum (Table *t, int key); 23LUAI_FUNC const TValue *luaH_getnum (Table *t, int key);
24LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key); 24LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key);