From 1c96560f8bc136fa2930dd67f538f65c02a1c350 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 4 Jun 2016 18:01:23 +0000 Subject: MirLua: - fixed DBEVENTINFO metatable - BLOB metatable temporary moved to utils - fixed tonumber function git-svn-id: http://svn.miranda-ng.org/main/trunk@16913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/stdafx.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/MirLua/src/stdafx.h') diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h index d14e5bd116..461dbdfc7a 100644 --- a/plugins/MirLua/src/stdafx.h +++ b/plugins/MirLua/src/stdafx.h @@ -96,12 +96,17 @@ LUAMOD_API int (luaopen_m_sounds)(lua_State *L); /* utils */ +#define MT_BLOB "BLOB" +int (luaopen_m_utils)(lua_State *L); + extern HANDLE hNetlib; void Log(const char *format, ...); void Log(const wchar_t *format, ...); void ShowNotification(const char *caption, const char *message, int flags = 0, MCONTACT hContact = NULL); +void ObsoleteMethod(lua_State *L, const char *message); + int luaM_atpanic(lua_State *L); int luaM_pcall(lua_State *L, int n = 0, int r = 0); @@ -123,6 +128,4 @@ void InitIcons(); HICON GetIcon(int iconId); HANDLE GetIconHandle(int iconId); -void ObsoleteMethod(lua_State *L, const char *message); - #endif //_COMMON_H_ -- cgit v1.2.3