mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
use LUA_API instead of extern
This commit is contained in:
@@ -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); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user