From 8d706b4ef942e01814f0a9db519aa32505b9abed Mon Sep 17 00:00:00 2001 From: aunsane Date: Fri, 29 Sep 2017 00:22:53 +0300 Subject: MirLua: added service functions to execute lua code version bump --- plugins/MirLua/src/stdafx.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/MirLua/src/stdafx.h') diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h index d9fb9febc4..08b15a246e 100644 --- a/plugins/MirLua/src/stdafx.h +++ b/plugins/MirLua/src/stdafx.h @@ -3,6 +3,7 @@ #include #include +#include #include #include @@ -91,6 +92,10 @@ LUAMOD_API int (luaopen_m_sounds)(lua_State *L); #define MLUA_SRMM "m_srmm" LUAMOD_API int (luaopen_m_srmm)(lua_State *L); +/* services */ + +INT_PTR Call(WPARAM wParam, LPARAM lParam); + /* utils */ extern HNETLIBUSER hNetlib; @@ -101,6 +106,8 @@ void ShowNotification(const char *caption, const char *message, int flags = 0, M void ObsoleteMethod(lua_State *L, const char *message); +void ReportError(lua_State *L); + int luaM_atpanic(lua_State *L); int luaM_pcall(lua_State *L, int n = 0, int r = 0); -- cgit v1.2.3