miqt/qt/gen_qscopedpointer.cpp

22 lines
462 B
C++
Raw Permalink Normal View History

#include <QScopedPointerPodDeleter>
#include <qscopedpointer.h>
2024-08-29 07:01:51 +00:00
#include "gen_qscopedpointer.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
void QScopedPointerPodDeleter_Cleanup(void* pointer) {
QScopedPointerPodDeleter::cleanup(pointer);
}
2024-11-19 06:29:06 +00:00
void QScopedPointerPodDeleter_Delete(QScopedPointerPodDeleter* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QScopedPointerPodDeleter*>( self );
} else {
delete self;
}
}