mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
Avoid different function declarations when build as windows DLL (#1959)
This commit is contained in:
@@ -1234,9 +1234,6 @@ init(lua_State *L) {
|
||||
CC.L = newState(L);
|
||||
}
|
||||
|
||||
|
||||
void luaL_initcodecache(void);
|
||||
|
||||
LUALIB_API void
|
||||
luaL_initcodecache(void) {
|
||||
SPIN_INIT(&CC);
|
||||
@@ -1380,8 +1377,6 @@ cache_clear(lua_State *L) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int luaopen_cache(lua_State *L);
|
||||
|
||||
LUAMOD_API int luaopen_cache(lua_State *L) {
|
||||
luaL_Reg l[] = {
|
||||
{ "clear", cache_clear },
|
||||
|
||||
Reference in New Issue
Block a user