Patch Lua5.4
Make all the internal functions visible to regular C modules (and Titan)
This does not include the Makefile patches that we had done on the
previous version to add a Titan folder to the package path.
** give a warning about it. To avoid these warnings, change to the
** default definition.
*/
-#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 302) && \
- defined(__ELF__) /* { */
-#define LUAI_FUNC __attribute__((visibility("hidden"))) extern
-#else /* }{ */
-#define LUAI_FUNC extern
-#endif /* } */
+#define LUAI_FUNC LUA_API /* Titan exports everything */
#define LUAI_DDEC LUAI_FUNC
#define LUAI_DDEF /* empty */
