miqt/qt/gen_qlinkedlist.cpp

19 lines
427 B
C++
Raw Normal View History

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