Expose internal apis

This commit is contained in:
Michael Pfaff 2023-07-10 23:43:38 -04:00
parent d0b9ad3c48
commit 1917ae1569
Signed by: michael
GPG Key ID: CF402C4A012AA9D4
1 changed files with 2 additions and 7 deletions

View File

@ -53,13 +53,8 @@
#define LUALIB_API LUA_API
// Can be used to reconfigure visibility for internal APIs
#if defined(__GNUC__)
#define LUAI_FUNC __attribute__((visibility("hidden"))) extern
#define LUAI_DATA LUAI_FUNC
#else
#define LUAI_FUNC extern
#define LUAI_DATA extern
#endif
#define LUAI_FUNC LUA_API
#define LUAI_DATA LUA_API
// Can be used to reconfigure internal error handling to use longjmp instead of C++ EH
#ifndef LUA_USE_LONGJMP