lua_checksig LUA_CACHELIB

This commit is contained in:
hong
2019-06-06 11:13:19 +08:00
committed by 云风
parent 82f3e80e06
commit a04e6b5b29
3 changed files with 22 additions and 0 deletions

View File

@@ -459,6 +459,11 @@ struct lua_Debug {
/* }====================================================================== */
/* Add by skynet */
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); }
/******************************************************************************
* Copyright (C) 1994-2018 Lua.org, PUC-Rio.