miqt/qt-restricted-extras/qscintilla/gen_qscidocument.cpp

25 lines
509 B
C++

#include <qscidocument.h>
#include "gen_qscidocument.h"
#include "_cgo_export.h"
QsciDocument* QsciDocument_new() {
return new QsciDocument();
}
QsciDocument* QsciDocument_new2(QsciDocument* param1) {
return new QsciDocument(*param1);
}
void QsciDocument_OperatorAssign(QsciDocument* self, QsciDocument* param1) {
self->operator=(*param1);
}
void QsciDocument_Delete(QsciDocument* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QsciDocument*>( self );
} else {
delete self;
}
}