diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-04-04 09:44:12 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-04-04 09:44:12 +0000 |
commit | 32089106fa10eba08e946693cb2939a4ab293f77 (patch) | |
tree | 102d714e16eb4d5c8da2a6a34d497ad10724c35f /plugins/MirLua/src/m_message.cpp | |
parent | e1110157f8c2989a58aa12ddeef91669525d188f (diff) |
MirLua:
- no need to copy pointer data in MT
- project cleanup
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@16584 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_message.cpp')
-rw-r--r-- | plugins/MirLua/src/m_message.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/src/m_message.cpp b/plugins/MirLua/src/m_message.cpp index 64025eb132..63f86441ff 100644 --- a/plugins/MirLua/src/m_message.cpp +++ b/plugins/MirLua/src/m_message.cpp @@ -1,6 +1,6 @@ #include "stdafx.h"
-static int lua_Paste(lua_State *L)
+static int message_Paste(lua_State *L)
{
MCONTACT hContact = luaL_checkinteger(L, 1);
ptrT text(mir_utf8decodeT(luaL_checkstring(L, 2)));
@@ -24,7 +24,7 @@ static int lua_Paste(lua_State *L) return 1;
}
-static int lua_Send(lua_State *L)
+static int message_Send(lua_State *L)
{
MCONTACT hContact = luaL_checkinteger(L, 1);
const char *message = luaL_checkstring(L, 2);
@@ -70,8 +70,8 @@ static int lua_Send(lua_State *L) static luaL_Reg messageApi[] =
{
- { "Paste", lua_Paste },
- { "Send", lua_Send },
+ { "Paste", message_Paste },
+ { "Send", message_Send },
{ NULL, NULL }
};
|