From 932f5569c467683d3b95c45772da903d3117dc11 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sun, 21 Jun 2015 20:38:33 +0000 Subject: MirLua: some changes git-svn-id: http://svn.miranda-ng.org/main/trunk@14311 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_core.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/MirLua/src/m_core.cpp') diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp index 72d899e5b9..917694e9e7 100644 --- a/plugins/MirLua/src/m_core.cpp +++ b/plugins/MirLua/src/m_core.cpp @@ -23,8 +23,8 @@ static int lua_DestroyHookableEvent(lua_State *L) static int lua_NotifyEventHooks(lua_State *L) { HANDLE hEvent = (HANDLE)lua_touserdata(L, 1); - WPARAM wParam = CMLua::GetWParam(L, 2); - LPARAM lParam = CMLua::GetLParam(L, 3); + WPARAM wParam = luaM_towparam(L, 2); + LPARAM lParam = luaM_tolparam(L, 3); int res = ::NotifyEventHooks(hEvent, wParam, lParam); lua_pushinteger(L, res); @@ -156,8 +156,8 @@ static int lua_ServiceExists(lua_State *L) static int lua_CallService(lua_State *L) { const char *name = luaL_checkstring(L, 1); - WPARAM wParam = CMLua::GetWParam(L, 2); - LPARAM lParam = CMLua::GetLParam(L, 3); + WPARAM wParam = luaM_towparam(L, 2); + LPARAM lParam = luaM_tolparam(L, 3); INT_PTR res = ::CallService(name, wParam, lParam); lua_pushinteger(L, res); -- cgit v1.2.3