miqt/qt6/gen_qcompare.cpp

22 lines
424 B
C++

#include <QPartialOrdering>
#include <qcompare.h>
#include "gen_qcompare.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
QPartialOrdering* QPartialOrdering_new(QPartialOrdering* param1) {
return new QPartialOrdering(*param1);
}
void QPartialOrdering_Delete(QPartialOrdering* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QPartialOrdering*>( self );
} else {
delete self;
}
}