lua

A copy of the Lua development repository
Log | Files | Refs | README

commit d40cd315f50538e9dbd4362a4763c01527f4eb3a
parent 8cb84210ab95e882c01363a6794508ec923ade90
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Tue, 13 Nov 2018 13:58:19 -0200

Visibility of non-API functions changed to "internal"

The visibility for functions marked as LUAI_FUNC was changed from
"hidden" to "internal". These functions cannot be called from
outside the Lua kernel, and "internal" visibility offers more
chances for optimizations.

Diffstat:
Mluaconf.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/luaconf.h b/luaconf.h @@ -277,7 +277,7 @@ */ #if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \ defined(__ELF__) /* { */ -#define LUAI_FUNC __attribute__((visibility("hidden"))) extern +#define LUAI_FUNC __attribute__((visibility("internal"))) extern #else /* }{ */ #define LUAI_FUNC extern #endif /* } */