diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-19 17:06:52 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-19 17:06:52 -0200 |
commit | 062e809e542ec066986c4e3e054f95e1bfc0cb50 (patch) | |
tree | 5663d1961cb5253f4261dc3df7d3ac3c9a18f6a1 /ltm.h | |
parent | b4c18248247d84a3acffc020b09d1637dd2990c6 (diff) | |
download | lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.tar.gz lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.tar.bz2 lua-062e809e542ec066986c4e3e054f95e1bfc0cb50.zip |
new macros 'LUAI_DDEC'/'LUAI_DDEF' to better control declarations and
definitions of non-static variables
Diffstat (limited to 'ltm.h')
-rw-r--r-- | ltm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.h,v 2.6 2005/06/06 13:30:25 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.7 2007/09/10 17:59:32 roberto Exp roberto $ |
3 | ** Tag methods | 3 | ** Tag methods |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -43,7 +43,7 @@ typedef enum { | |||
43 | 43 | ||
44 | #define fasttm(l,et,e) gfasttm(G(l), et, e) | 44 | #define fasttm(l,et,e) gfasttm(G(l), et, e) |
45 | 45 | ||
46 | LUAI_DATA const char *const luaT_typenames[]; | 46 | LUAI_DDEC const char *const luaT_typenames[]; |
47 | 47 | ||
48 | 48 | ||
49 | LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); | 49 | LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); |