From 6ae018a96123e67724df6e3aa32369d1e9377dc6 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Wed, 6 Apr 2016 11:14:07 +0000 Subject: mirlua: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@16591 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua_metatable.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/MirLua/src') 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; } -- cgit v1.2.3