summaryrefslogtreecommitdiff
path: root/library/LuaTools.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-04-16 10:59:55 +0400
committerAlexander Gavrilov2012-04-16 10:59:55 +0400
commit48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610 (patch)
treea860737c7af98bd1c4df30946201ffb044c6e69d /library/LuaTools.cpp
parenta1756a864cc7c7a6f498c5cfe96e0a9d0ae57828 (diff)
downloaddfhack-48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610.tar.gz
dfhack-48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610.tar.bz2
dfhack-48e4717dd2cf6c0e2a6ae88ae7bde20e01c0b610.tar.xz
Try working around some msvc problems.
Diffstat (limited to 'library/LuaTools.cpp')
-rw-r--r--library/LuaTools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/LuaTools.cpp b/library/LuaTools.cpp
index bf40e404..b4f95944 100644
--- a/library/LuaTools.cpp
+++ b/library/LuaTools.cpp
@@ -981,7 +981,7 @@ void DFHack::Lua::InvokeEvent(color_ostream &out, lua_State *state, void *key, i
set_dfhack_output(state, cur_out);
}
-void DFHack::Lua::CreateEvent(lua_State *state, void *key)
+void DFHack::Lua::MakeEvent(lua_State *state, void *key)
{
lua_rawgetp(state, LUA_REGISTRYINDEX, key);
@@ -1009,7 +1009,7 @@ void DFHack::Lua::Notification::bind(lua_State *state, void *key)
void DFHack::Lua::Notification::bind(lua_State *state, const char *name)
{
- CreateEvent(state, this);
+ MakeEvent(state, this);
if (handler)
{