diff options
Diffstat (limited to 'libpyside/pyside.h')
-rw-r--r-- | libpyside/pyside.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libpyside/pyside.h b/libpyside/pyside.h index 747b08da8..3ef7d3881 100644 --- a/libpyside/pyside.h +++ b/libpyside/pyside.h @@ -77,9 +77,14 @@ template<typename T> struct initQtMetaType<T, false> { }; +/// \deprecated PYSIDE_API void initDynamicMetaObject(SbkObjectType* type, const QMetaObject* base); +PYSIDE_API void initDynamicMetaObject(SbkObjectType* type, const QMetaObject* base, const std::size_t& cppObjSize); PYSIDE_API void initQObjectSubType(SbkObjectType* type, PyObject* args, PyObject* kwds); +/// Return the size in bytes of a type that inherits QObject. +PYSIDE_API std::size_t getSizeOfQObject(SbkObjectType* type); + typedef void (*CleanupFunction)(void); /** @@ -110,6 +115,9 @@ PYSIDE_API PyObject* getMetaDataFromQObject(QObject* cppSelf, PyObject* self, Py */ PYSIDE_API bool inherits(PyTypeObject* self, const char* class_name); +PYSIDE_API void* nextQObjectMemoryAddr(); +PYSIDE_API void setNextQObjectMemoryAddr(void* addr); + } //namespace PySide |