Permalink
Browse files

fix (msvc) compile error

  • Loading branch information...
jacob1 committed Nov 18, 2018
1 parent 2929264 commit a3eae58120ec3b830671bdade0de03f12363b317
Showing with 4 additions and 5 deletions.
  1. +0 −1 src/lua/LuaEvents.cpp
  2. +4 −4 src/lua/LuaEvents.h
@@ -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 @@ class LuaEvents
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);
};

0 comments on commit a3eae58

Please sign in to comment.