summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-18 17:38:43 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-18 17:38:43 -0200
commit090e4a6525c5469b2f257eb978ae74b1b8df5ffc (patch)
tree7b3f2be6b65b5b2fa8c9ea2e66372ead2def5c95
parent16913eedcec8c71b129dfcb029e0eb0fc50bb2a1 (diff)
downloadpyside-090e4a6525c5469b2f257eb978ae74b1b8df5ffc.tar.gz
pyside-090e4a6525c5469b2f257eb978ae74b1b8df5ffc.tar.xz
pyside-090e4a6525c5469b2f257eb978ae74b1b8df5ffc.zip
Remove function deleteDynamicQMetaObject, use Shiboken::callCppDestructor<DynamicQMetaObject> instead.
-rw-r--r--libpyside/dynamicqmetaobject.cpp5
-rw-r--r--libpyside/dynamicqmetaobject.h2
2 files changed, 0 insertions, 7 deletions
diff --git a/libpyside/dynamicqmetaobject.cpp b/libpyside/dynamicqmetaobject.cpp
index e9a162d..adb05d7 100644
--- a/libpyside/dynamicqmetaobject.cpp
+++ b/libpyside/dynamicqmetaobject.cpp
@@ -578,8 +578,3 @@ void DynamicQMetaObject::DynamicQMetaObjectPrivate::updateMetaObject(QMetaObject
metaObj->d.data = data;
metaObj->d.stringdata = stringData;
}
-
-void PySide::deleteDynamicQMetaObject(void* data)
-{
- delete reinterpret_cast<DynamicQMetaObject*>(data);
-}
diff --git a/libpyside/dynamicqmetaobject.h b/libpyside/dynamicqmetaobject.h
index d61ecad..8bd0282 100644
--- a/libpyside/dynamicqmetaobject.h
+++ b/libpyside/dynamicqmetaobject.h
@@ -52,7 +52,5 @@ private:
DynamicQMetaObjectPrivate* m_d;
};
-PYSIDE_API void deleteDynamicQMetaObject(void* data);
-
}
#endif