aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken/conversions.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-09 18:16:38 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:08:56 -0300
commit0151116f107393fe342fb491e68d67edefc33ddb (patch)
tree29efb291cfb953be588509a73e821a59c6e57362 /libshiboken/conversions.h
parent0ef92c1dccbb5b086686aa99399c310d78427fe8 (diff)
Removed macros SbkBaseWrapper_instanceDict and SbkBaseWrapper_setInstanceDict
Diffstat (limited to 'libshiboken/conversions.h')
-rw-r--r--libshiboken/conversions.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libshiboken/conversions.h b/libshiboken/conversions.h
index b077e2f28..e443dad17 100644
--- a/libshiboken/conversions.h
+++ b/libshiboken/conversions.h
@@ -139,7 +139,7 @@ struct Converter<T*>
{
if (!cppobj)
Py_RETURN_NONE;
- PyObject* pyobj = BindingManager::instance().retrieveWrapper(cppobj);
+ PyObject* pyobj = reinterpret_cast<PyObject*>(BindingManager::instance().retrieveWrapper(cppobj));
if (pyobj)
Py_INCREF(pyobj);
else
@@ -263,7 +263,7 @@ struct ObjectTypeConverter
{
if (!cppobj)
Py_RETURN_NONE;
- PyObject* pyobj = BindingManager::instance().retrieveWrapper(cppobj);
+ PyObject* pyobj = reinterpret_cast<PyObject*>(BindingManager::instance().retrieveWrapper(cppobj));
if (pyobj)
Py_INCREF(pyobj);
else