#include #include #include "gen_qshareddata.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern C */ #endif QSharedData* QSharedData_new() { return new QSharedData(); } QSharedData* QSharedData_new2(QSharedData* param1) { return new QSharedData(*param1); } void QSharedData_Delete(QSharedData* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }