diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-18 13:04:16 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-18 13:04:16 +0000 |
commit | 811d9e210f874330efb182cd701e2f69d35c5210 (patch) | |
tree | 1de21abdcb334585a1eb656637e0e9cfa93cd6f9 /plugins/MirLua/src/m_core.cpp | |
parent | b465bd352ef3d585ed1b7b906df68396b34c1cc4 (diff) |
MirLua: luserdata -> number convert function
git-svn-id: http://svn.miranda-ng.org/main/trunk@16120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_core.cpp')
-rw-r--r-- | plugins/MirLua/src/m_core.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp index e2e34ea717..339a2e8419 100644 --- a/plugins/MirLua/src/m_core.cpp +++ b/plugins/MirLua/src/m_core.cpp @@ -275,12 +275,14 @@ luaL_Reg coreApi[] = { "Utf8DecodeA", core_Utf8DecodeA },
{ "Utf8DecodeW", core_Utf8DecodeW },
-
+
{ "Free", core_Free },
{ "Translate", core_Translate },
{ "ReplaceVariables", core_ReplaceVariables },
+ { "PointerToNumber", luaM_ptr2number },
+
{ "GetFullPath", core_GetFullPath },
{ "Version", NULL },
|