summaryrefslogtreecommitdiffstats
path: root/libpyside/pyside.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpyside/pyside.h')
-rw-r--r--libpyside/pyside.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libpyside/pyside.h b/libpyside/pyside.h
index 2c5afb5..fe9ce3a 100644
--- a/libpyside/pyside.h
+++ b/libpyside/pyside.h
@@ -84,6 +84,11 @@ typedef void (*CleanupFunction)(void);
PYSIDE_API void registerCleanupFunction(CleanupFunction func);
PYSIDE_API void runCleanupFunctions();
+/**
+ * Destroy a QCoreApplication taking care of destroy all instances of QObject first.
+ */
+PYSIDE_API void destroyQCoreApplication();
+
} //namespace PySide