miqt/qt/gen_qlinkedlist.cpp

19 lines
427 B
C++
Raw Normal View History

#include <QLinkedListData>
#include <qlinkedlist.h>
2024-08-29 07:01:51 +00:00
#include "gen_qlinkedlist.h"
#include "_cgo_export.h"
2024-11-19 06:29:06 +00:00
void QLinkedListData_new(QLinkedListData** outptr_QLinkedListData) {
QLinkedListData* ret = new QLinkedListData();
*outptr_QLinkedListData = ret;
}
2024-11-19 06:29:06 +00:00
void QLinkedListData_Delete(QLinkedListData* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QLinkedListData*>( self );
} else {
delete self;
}
}