From b43300c14f562bcdc1050f2c05e52fac3f6c99b7 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 18 Jun 2018 09:51:05 -0300 Subject: 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 --- ltm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltm.h') diff --git a/ltm.h b/ltm.h index 3069a3ba..12ae09de 100644 --- a/ltm.h +++ b/ltm.h @@ -1,5 +1,5 @@ /* -** $Id: ltm.h,v 2.37 2018/06/01 16:51:34 roberto Exp roberto $ +** $Id: ltm.h,v 2.38 2018/06/08 19:06:59 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -58,7 +58,7 @@ typedef enum { #define ttypename(x) luaT_typenames_[(x) + 1] -LUAI_DDEC const char *const luaT_typenames_[LUA_TOTALTAGS]; +LUAI_DDEC(const char *const luaT_typenames_[LUA_TOTALTAGS];) LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o); -- cgit v1.2.3-55-g6feb