miqt/qt6/gen_qrefcount.cpp
2024-10-21 19:10:31 +13:00

34 lines
788 B
C++

#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__RefCount
#include <qrefcount.h>
#include "gen_qrefcount.h"
#include "_cgo_export.h"
bool QtPrivate__RefCount_Ref(QtPrivate__RefCount* self) {
return self->ref();
}
bool QtPrivate__RefCount_Deref(QtPrivate__RefCount* self) {
return self->deref();
}
bool QtPrivate__RefCount_IsStatic(const QtPrivate__RefCount* self) {
return self->isStatic();
}
bool QtPrivate__RefCount_IsShared(const QtPrivate__RefCount* self) {
return self->isShared();
}
void QtPrivate__RefCount_InitializeOwned(QtPrivate__RefCount* self) {
self->initializeOwned();
}
void QtPrivate__RefCount_InitializeUnsharable(QtPrivate__RefCount* self) {
self->initializeUnsharable();
}
void QtPrivate__RefCount_Delete(QtPrivate__RefCount* self) {
delete self;
}