miqt/qt6/gen_qutf8stringview.cpp

23 lines
594 B
C++

#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__hide_char8_t
#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__wrap_char
#include <qutf8stringview.h>
#include "gen_qutf8stringview.h"
#include "_cgo_export.h"
void QtPrivate__hide_char8_t_Delete(QtPrivate__hide_char8_t* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QtPrivate::hide_char8_t*>( self );
} else {
delete self;
}
}
void QtPrivate__wrap_char_Delete(QtPrivate__wrap_char* self, bool isSubclass) {
if (isSubclass) {
delete dynamic_cast<QtPrivate::wrap_char*>( self );
} else {
delete self;
}
}