summaryrefslogtreecommitdiffstats
path: root/libshiboken/conversions.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 17:23:47 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 17:28:58 -0200
commitf28d985527dd5674db0acbf3009f704b489eb870 (patch)
tree28cb437badf378537bc375c9437539c8c1af782c /libshiboken/conversions.h
parent25b7f82404ea78fe3053cebad52a3404e82bf71d (diff)
downloadshiboken-f28d985527dd5674db0acbf3009f704b489eb870.tar.gz
shiboken-f28d985527dd5674db0acbf3009f704b489eb870.tar.xz
shiboken-f28d985527dd5674db0acbf3009f704b489eb870.zip
Fix the metaObject method written by the generator after the changed in libshiboken.
Diffstat (limited to 'libshiboken/conversions.h')
-rw-r--r--libshiboken/conversions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libshiboken/conversions.h b/libshiboken/conversions.h
index d8e28371..4d55ef0f 100644
--- a/libshiboken/conversions.h
+++ b/libshiboken/conversions.h
@@ -275,7 +275,9 @@ struct ObjectTypeConverter
return 0;
SbkObjectType* shiboType = reinterpret_cast<SbkObjectType*>(pyobj->ob_type);
if (shiboType->mi_specialcast)
- return (T*) shiboType->mi_specialcast(Wrapper::cppPointer(reinterpret_cast<SbkObject*>(pyobj), SbkType<T>()), reinterpret_cast<SbkObjectType*>(SbkType<T>()));
+ return (T*) shiboType->mi_specialcast(
+ Wrapper::cppPointer(reinterpret_cast<SbkObject*>(pyobj), SbkType<T>()),
+ reinterpret_cast<SbkObjectType*>(SbkType<T>()));
return (T*) Wrapper::cppPointer(reinterpret_cast<SbkObject*>(pyobj), SbkType<T>());
}
};