use LUA_API instead of extern

This commit is contained in:
Cloud Wu
2015-05-26 16:05:31 +08:00
parent 4ac047b274
commit 205824ab12

View File

@@ -460,7 +460,7 @@ struct lua_Debug {
/* Add by skynet */
extern lua_State * skynet_sig_L;
LUA_API lua_State * skynet_sig_L;
LUA_API void (lua_checksig_)(lua_State *L);
#define lua_checksig(L) if (skynet_sig_L) { lua_checksig_(L); }