diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-07-12 20:40:10 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-07-12 20:40:10 +0000 |
commit | f1f08af4d7a1b4bedf55fb25af974276e5eb858c (patch) | |
tree | 70387cab585ac782ae7da679d95991f7403b3e39 /plugins/MirLua/src/mlua.cpp | |
parent | 4bf1f71a53fb90e8c87f0e0a19af6e82b280867a (diff) |
MirLua:
- Utf8Decode? functions are returns strings (thx to Mironych)
- added DecodeCustomButtonClickData to m_msg_buttonsbar
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@14546 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/MirLua/src/mlua.cpp b/plugins/MirLua/src/mlua.cpp index 57fa08c7d5..6ce1b2d3f0 100644 --- a/plugins/MirLua/src/mlua.cpp +++ b/plugins/MirLua/src/mlua.cpp @@ -36,6 +36,10 @@ void CMLua::Load() lua_getglobal(L, "_G");
lua_pushcclosure(L, luaM_print, 0);
lua_setfield(L, -2, "print");
+ lua_pushcclosure(L, luaM_toansi, 0);
+ lua_setfield(L, -2, "a");
+ lua_pushcclosure(L, luaM_toucs2, 0);
+ lua_setfield(L, -2, "u");
lua_pop(L, 1);
lua_atpanic(L, luaM_atpanic);
|