Expose internal apis
This commit is contained in:
parent
d0b9ad3c48
commit
1917ae1569
|
@ -53,13 +53,8 @@
|
||||||
#define LUALIB_API LUA_API
|
#define LUALIB_API LUA_API
|
||||||
|
|
||||||
// Can be used to reconfigure visibility for internal APIs
|
// Can be used to reconfigure visibility for internal APIs
|
||||||
#if defined(__GNUC__)
|
#define LUAI_FUNC LUA_API
|
||||||
#define LUAI_FUNC __attribute__((visibility("hidden"))) extern
|
#define LUAI_DATA LUA_API
|
||||||
#define LUAI_DATA LUAI_FUNC
|
|
||||||
#else
|
|
||||||
#define LUAI_FUNC extern
|
|
||||||
#define LUAI_DATA extern
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Can be used to reconfigure internal error handling to use longjmp instead of C++ EH
|
// Can be used to reconfigure internal error handling to use longjmp instead of C++ EH
|
||||||
#ifndef LUA_USE_LONGJMP
|
#ifndef LUA_USE_LONGJMP
|
||||||
|
|
Loading…
Reference in New Issue