mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
38 lines
722 B
C++
38 lines
722 B
C++
#include <QSharedData>
|
|
#include <qshareddata.h>
|
|
#include "gen_qshareddata.h"
|
|
|
|
#ifndef _Bool
|
|
#define _Bool bool
|
|
#endif
|
|
#include "_cgo_export.h"
|
|
|
|
QSharedData* QSharedData_new() {
|
|
return new QSharedData();
|
|
}
|
|
|
|
QSharedData* QSharedData_new2(QSharedData* param1) {
|
|
return new QSharedData(*param1);
|
|
}
|
|
|
|
void QSharedData_Delete(QSharedData* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<QSharedData*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|
|
QAdoptSharedDataTag* QAdoptSharedDataTag_new() {
|
|
return new QAdoptSharedDataTag();
|
|
}
|
|
|
|
void QAdoptSharedDataTag_Delete(QAdoptSharedDataTag* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<QAdoptSharedDataTag*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|