2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__RefCount
|
2024-10-16 05:07:56 +00:00
|
|
|
#include <qrefcount.h>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qrefcount.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-29 07:01:51 +00:00
|
|
|
|
|
|
|
bool QtPrivate__RefCount_Ref(QtPrivate__RefCount* self) {
|
|
|
|
return self->ref();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QtPrivate__RefCount_Deref(QtPrivate__RefCount* self) {
|
|
|
|
return self->deref();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool QtPrivate__RefCount_SetSharable(QtPrivate__RefCount* self, bool sharable) {
|
|
|
|
return self->setSharable(sharable);
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QtPrivate__RefCount_IsSharable(const QtPrivate__RefCount* self) {
|
|
|
|
return self->isSharable();
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QtPrivate__RefCount_IsStatic(const QtPrivate__RefCount* self) {
|
|
|
|
return self->isStatic();
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QtPrivate__RefCount_IsShared(const QtPrivate__RefCount* self) {
|
|
|
|
return self->isShared();
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|