diff options
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/Modules/WinAPI/src/stdafx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/MirLua/Modules/WinAPI/src/stdafx.h b/plugins/MirLua/Modules/WinAPI/src/stdafx.h index 4885e14c2f..0e24189fbe 100644 --- a/plugins/MirLua/Modules/WinAPI/src/stdafx.h +++ b/plugins/MirLua/Modules/WinAPI/src/stdafx.h @@ -44,6 +44,8 @@ *
***/
+#pragma once
+
#define LUA_WINAPI_LIB extern "C" int __declspec(dllexport)
#include <lua.hpp>
@@ -74,4 +76,4 @@ struct luaM_consts #define luaM_PushNumberIf(L, a, b) if (b) lua_pushnumber(L, (intptr_t)a); else lua_pushnil(L);
#define luaM_PushStringIf(L, a, b) if (b) lua_pushstring(L, a); else lua_pushnil(L);
-#define luaM_CheckPushNumber(L, a) luaM_PushNumberIf(L, a, a)
\ No newline at end of file +#define luaM_CheckPushNumber(L, a) luaM_PushNumberIf(L, a, a)
|