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

29 lines
550 B
C++
Raw Normal View History

2024-10-20 04:59:23 +00:00
#include <qscidocument.h>
#include "gen_qscidocument.h"
#ifndef _Bool
#define _Bool bool
#endif
2024-10-20 04:59:23 +00:00
#include "_cgo_export.h"
2024-12-07 04:15:57 +00:00
QsciDocument* QsciDocument_new() {
return new QsciDocument();
2024-10-20 04:59:23 +00:00
}
2024-12-07 04:15:57 +00:00
QsciDocument* QsciDocument_new2(QsciDocument* param1) {
return new QsciDocument(*param1);
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
}