fix (msvc) compile error
This commit is contained in:
parent
2929264885
commit
a3eae58120
@ -146,7 +146,6 @@ int LuaEvents::RegisterEventHook(lua_State *l, ByteString eventName)
|
||||
return 1;
|
||||
}
|
||||
|
||||
#include <iostream>
|
||||
int LuaEvents::UnregisterEventHook(lua_State *l, ByteString eventName)
|
||||
{
|
||||
if (lua_isfunction(l, 2))
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include "common/String.h"
|
||||
|
||||
class lua_State;
|
||||
struct lua_State;
|
||||
class LuaScriptInterface;
|
||||
|
||||
class Event
|
||||
@ -119,9 +119,9 @@ public:
|
||||
close
|
||||
};
|
||||
|
||||
static int RegisterEventHook(lua_State* l, ByteString eventName);
|
||||
static int UnregisterEventHook(lua_State* l, ByteString eventName);
|
||||
static bool HandleEvent(LuaScriptInterface * luacon_ci, Event * event, ByteString eventName);
|
||||
static int RegisterEventHook(lua_State *l, ByteString eventName);
|
||||
static int UnregisterEventHook(lua_State *l, ByteString eventName);
|
||||
static bool HandleEvent(LuaScriptInterface *luacon_ci, Event *event, ByteString eventName);
|
||||
|
||||
static String luacon_geterror(LuaScriptInterface *luacon_ci);
|
||||
};
|
||||
|
Reference in New Issue
Block a user