From dfb106ac0e13be3336353bde5dfe0c527d4ee26e Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 10 Feb 2010 21:17:40 +0100 Subject: [PATCH] Fix multiple definition error --- src/luamm.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luamm.hh b/src/luamm.hh index a7fab725..be17bf43 100644 --- a/src/luamm.hh +++ b/src/luamm.hh @@ -70,7 +70,7 @@ namespace lua { }; // we reserve one upvalue for the function pointer - int upvalueindex(int n) + inline int upvalueindex(int n) { return lua_upvalueindex(n+1); } /*