diff options
Diffstat (limited to 'lib/BLua.cc')
-rw-r--r-- | lib/BLua.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/BLua.cc b/lib/BLua.cc index a81b688..1166915 100644 --- a/lib/BLua.cc +++ b/lib/BLua.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: BLua.cc,v 1.16 2003-12-26 21:23:35 pixel Exp $ */ +/* $Id: BLua.cc,v 1.17 2003-12-26 23:51:33 pixel Exp $ */ #include <lualib.h> @@ -574,15 +574,13 @@ int LuaStatics::collector(lua_State * _L) { Lua * L = Lua::find(_L); void ** u = (void **) L->touserdata(); bool * obj = (bool *) (u + 1); - printm(M_INFO, "From LUA: collecting object\n"); +// printm(M_INFO, "From LUA: collecting object\n"); if (*obj) { - printm(M_INFO, "Is object at %p\n", *u); +// printm(M_INFO, "Is object at %p\n", *u); Base * b = (Base *) *u; - const type_info & t = typeid(*b); - printm(M_INFO, "Type: " + String(t.name()) + "\n"); delete b; } else { - printm(M_INFO, "Is struct at %p\n", *u); +// printm(M_INFO, "Is struct at %p\n", *u); free(*u); } *u = 0; |