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

27 lines
645 B
C++
Raw Normal View History

2024-10-20 04:59:23 +00:00
#include <qscidocument.h>
#include "gen_qscidocument.h"
#include "_cgo_export.h"
2024-11-19 06:29:06 +00:00
void QsciDocument_new(QsciDocument** outptr_QsciDocument) {
QsciDocument* ret = new QsciDocument();
*outptr_QsciDocument = ret;
2024-10-20 04:59:23 +00:00
}
2024-11-19 06:29:06 +00:00
void QsciDocument_new2(QsciDocument* param1, QsciDocument** outptr_QsciDocument) {
QsciDocument* ret = new QsciDocument(*param1);
*outptr_QsciDocument = ret;
2024-10-20 04:59:23 +00:00
}
void QsciDocument_OperatorAssign(QsciDocument* self, QsciDocument* param1) {
self->operator=(*param1);
}
2024-11-19 06:29:06 +00:00
void QsciDocument_Delete(QsciDocument* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QsciDocument*>( self );
} else {
delete self;
}
2024-10-20 04:59:23 +00:00
}