diff options
author | aunsane <aunsane@gmail.com> | 2017-09-29 00:22:53 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2017-09-29 00:39:19 +0300 |
commit | 8d706b4ef942e01814f0a9db519aa32505b9abed (patch) | |
tree | ec3cd0464d4862f42041936958595c057abdfb78 /plugins/MirLua/src/stdafx.h | |
parent | af9c3d7de7e35632d046575b5e4809a04abec816 (diff) |
MirLua: added service functions to execute lua code
version bump
Diffstat (limited to 'plugins/MirLua/src/stdafx.h')
-rw-r--r-- | plugins/MirLua/src/stdafx.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 <windows.h>
#include <time.h>
+#include <wchar.h>
#include <newpluginapi.h>
#include <m_core.h>
@@ -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);
|