From 34f3d76195a03f889320866ce29e68ab1cbef1e2 Mon Sep 17 00:00:00 2001 From: Samuel Melchior <samuel.melchior@uclouvain.be> Date: Wed, 10 Mar 2010 08:44:35 +0000 Subject: [PATCH] --- Common/LuaBindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/LuaBindings.h b/Common/LuaBindings.h index fca8ec1f5d..b6d675f8bf 100644 --- a/Common/LuaBindings.h +++ b/Common/LuaBindings.h @@ -498,7 +498,7 @@ static int luaCall(lua_State *L, void (*_f)(t0)) { return 1; }; template < > -static int luaCall(lua_State *L,void (*_f)()) { +int luaCall(lua_State *L,void (*_f)()) { if (lua_gettop(L)==1) lua_remove(L,1); (*(_f))(); -- GitLab