Skip to content

Commit

Permalink
issue #157 Detail
Browse files Browse the repository at this point in the history
  • Loading branch information
dibyendumajumdar committed Jul 11, 2020
1 parent 844b156 commit b73322a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions include/luaconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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


/*
Expand All @@ -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 /* } */
Expand Down

0 comments on commit b73322a

Please sign in to comment.