summaryrefslogtreecommitdiffstats
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>2010-11-10 15:36:29 -0200
commitcc58f2c2b7f80e8b749d3dd0577a9b18902e61bb (patch)
treefbd243630fa736ed11ae95ecc055b17d2f45cc2f /libshiboken/conversions.h
parent0949f2b49dcfd9516e4e3e4044a97070533799ad (diff)
downloadshiboken-cc58f2c2b7f80e8b749d3dd0577a9b18902e61bb.tar.gz
shiboken-cc58f2c2b7f80e8b749d3dd0577a9b18902e61bb.tar.xz
shiboken-cc58f2c2b7f80e8b749d3dd0577a9b18902e61bb.zip
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 b077e2f2..e443dad1 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