summaryrefslogtreecommitdiffstats
path: root/libshiboken/conversions.h
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 11:42:46 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:29 -0200
commit9016e6ef09c19406d2e57066966eae4d54010728 (patch)
treebb5b73b32c1334ff1671ef0b1bf7681d510562fe /libshiboken/conversions.h
parentb9ad071fcb2a1fa2f0191815ed7b1f7573e8f01a (diff)
downloadshiboken-9016e6ef09c19406d2e57066966eae4d54010728.tar.gz
shiboken-9016e6ef09c19406d2e57066966eae4d54010728.tar.xz
shiboken-9016e6ef09c19406d2e57066966eae4d54010728.zip
SbkBaseWrapperType and some other functions used by Python C-API moved outside C++ namespaces.
Diffstat (limited to 'libshiboken/conversions.h')
-rw-r--r--libshiboken/conversions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libshiboken/conversions.h b/libshiboken/conversions.h
index 4cead343..a590ea19 100644
--- a/libshiboken/conversions.h
+++ b/libshiboken/conversions.h
@@ -113,7 +113,7 @@ inline PyObject* createWrapper(const T* cppobj, bool hasOwnership = false, bool
const char* typeName = 0;
if (!isExactType)
typeName = typeid(*const_cast<T*>(cppobj)).name();
- return SbkBaseWrapper_New(reinterpret_cast<SbkBaseWrapperType*>(SbkType<T>()),
+ return Wrapper::newObject(reinterpret_cast<SbkBaseWrapperType*>(SbkType<T>()),
const_cast<T*>(cppobj), hasOwnership, isExactType, typeName);
}