From c3e3500c309be004434293895775e5579656d72c Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Wed, 10 Nov 2010 17:23:47 -0200 Subject: Fix the metaObject method written by the generator after the changed in libshiboken. --- libshiboken/conversions.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libshiboken') diff --git a/libshiboken/conversions.h b/libshiboken/conversions.h index d8e28371f..4d55ef0fe 100644 --- a/libshiboken/conversions.h +++ b/libshiboken/conversions.h @@ -275,7 +275,9 @@ struct ObjectTypeConverter return 0; SbkObjectType* shiboType = reinterpret_cast(pyobj->ob_type); if (shiboType->mi_specialcast) - return (T*) shiboType->mi_specialcast(Wrapper::cppPointer(reinterpret_cast(pyobj), SbkType()), reinterpret_cast(SbkType())); + return (T*) shiboType->mi_specialcast( + Wrapper::cppPointer(reinterpret_cast(pyobj), SbkType()), + reinterpret_cast(SbkType())); return (T*) Wrapper::cppPointer(reinterpret_cast(pyobj), SbkType()); } }; -- cgit v1.2.3