From e425765e11d6980e8a14a1cd421cedbde69ed3bf Mon Sep 17 00:00:00 2001 From: Jonathan Lambrechts <jonathan.lambrechts@uclouvain.be> Date: Tue, 26 Jan 2010 10:10:02 +0000 Subject: [PATCH] lua bindings : intitialize parent class to NULL --- Common/LuaBindings.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Common/LuaBindings.h b/Common/LuaBindings.h index 3ce1d041dc..c94c75f3b1 100644 --- a/Common/LuaBindings.h +++ b/Common/LuaBindings.h @@ -611,6 +611,7 @@ public: lua_State *L = _b->L; _className=name; _constructor=NULL; + _parent=NULL; // there are 3 tables involved : // methods : the table of the C++ functions we bind (exept constructor) -- GitLab