From b73322ad16a5119d795641b207eae44bee23be3b Mon Sep 17 00:00:00 2001 From: Dibyendu Majumdar Date: Sat, 11 Jul 2020 12:05:09 +0100 Subject: [PATCH] issue #157 Detail --- include/luaconf.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/luaconf.h b/include/luaconf.h index f5c5fccb..46be465c 100644 --- a/include/luaconf.h +++ b/include/luaconf.h @@ -260,9 +260,11 @@ #endif /* } */ -/* more often than not the libs go together with the core */ +/* +** More often than not the libs go together with the core. +*/ #define LUALIB_API LUA_API -#define LUAMOD_API LUALIB_API +#define LUAMOD_API LUA_API /* @@ -281,8 +283,7 @@ */ #if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \ defined(__ELF__) /* { */ -/** RAVI change **/ -#define LUAI_FUNC /* __attribute__((visibility("hidden")))*/ extern +#define LUAI_FUNC __attribute__((visibility("internal"))) extern #else /* }{ */ #define LUAI_FUNC extern #endif /* } */