#include #include #include "gen_qlinkedlist.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern C */ #endif QLinkedListData* QLinkedListData_new() { return new QLinkedListData(); } void QLinkedListData_Delete(QLinkedListData* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }