mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
29 lines
550 B
C++
29 lines
550 B
C++
#include <qscidocument.h>
|
|
#include "gen_qscidocument.h"
|
|
|
|
#ifndef _Bool
|
|
#define _Bool bool
|
|
#endif
|
|
#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;
|
|
}
|
|
}
|
|
|