diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-06 11:14:07 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-06 11:14:07 +0000 |
commit | 6ae018a96123e67724df6e3aa32369d1e9377dc6 (patch) | |
tree | 735a651b208836a053ac22761490dcf2f3804b30 | |
parent | 1b0236528ceec24b16d6ce91a188b2da240f1a7d (diff) |
mirlua: compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/MirLua/src/mlua_metatable.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_metatable.h b/plugins/MirLua/src/mlua_metatable.h index 5048c39288..0946eb9caa 100644 --- a/plugins/MirLua/src/mlua_metatable.h +++ b/plugins/MirLua/src/mlua_metatable.h @@ -64,12 +64,13 @@ private: *obj = (T*)lua_touserdata(L, 1);
}
- static int Index(lua_State *L, T */*obj*/)
+ static int Index(lua_State *L, T* /*obj*/)
{
lua_pushnil(L);
+ return 1;
}
- static void Free(lua_State */*L*/, T **obj)
+ static void Free(lua_State * /*L*/, T **obj)
{
*obj = NULL;
}
|