mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
add LUAMOD_API
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#define LUA_LIB
|
||||
|
||||
#include "skynet.h"
|
||||
#include "lua-seri.h"
|
||||
|
||||
@@ -366,7 +368,7 @@ lnow(lua_State *L) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int
|
||||
LUAMOD_API int
|
||||
luaopen_skynet_core(lua_State *L) {
|
||||
luaL_checkversion(L);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user