diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-06-18 09:51:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-06-18 09:51:05 -0300 |
commit | b43300c14f562bcdc1050f2c05e52fac3f6c99b7 (patch) | |
tree | b21fb2577e9f40340f22cbe44648a37f8d16f12f /ltm.h | |
parent | af70905246acfad225904b64d027e5b01c7b10eb (diff) | |
download | lua-b43300c14f562bcdc1050f2c05e52fac3f6c99b7.tar.gz lua-b43300c14f562bcdc1050f2c05e52fac3f6c99b7.tar.bz2 lua-b43300c14f562bcdc1050f2c05e52fac3f6c99b7.zip |
change in 'LUAI_DDEC' to allow variables to be static in 'onelua'
+ change in 'LUAMOD_API' as opening functions do not need to be global
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.37 2018/06/01 16:51:34 roberto Exp roberto $ | 2 | ** $Id: ltm.h,v 2.38 2018/06/08 19:06:59 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 | */ |
@@ -58,7 +58,7 @@ typedef enum { | |||
58 | 58 | ||
59 | #define ttypename(x) luaT_typenames_[(x) + 1] | 59 | #define ttypename(x) luaT_typenames_[(x) + 1] |
60 | 60 | ||
61 | LUAI_DDEC const char *const luaT_typenames_[LUA_TOTALTAGS]; | 61 | LUAI_DDEC(const char *const luaT_typenames_[LUA_TOTALTAGS];) |
62 | 62 | ||
63 | 63 | ||
64 | LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o); | 64 | LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o); |