2024-08-29 07:01:51 +00:00
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ExceptionHolder
|
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__ExceptionStore
|
2024-10-16 05:07:56 +00:00
|
|
|
#include <qexception.h>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qexception.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-29 07:01:51 +00:00
|
|
|
|
|
|
|
QtPrivate__ExceptionHolder* QtPrivate__ExceptionHolder_new() {
|
|
|
|
return new QtPrivate::ExceptionHolder();
|
|
|
|
}
|
|
|
|
|
|
|
|
void QtPrivate__ExceptionHolder_Delete(QtPrivate__ExceptionHolder* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QtPrivate__ExceptionStore_HasException(const QtPrivate__ExceptionStore* self) {
|
|
|
|
return self->hasException();
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QtPrivate__ExceptionStore_ThrowPossibleException(QtPrivate__ExceptionStore* self) {
|
|
|
|
self->throwPossibleException();
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QtPrivate__ExceptionStore_HasThrown(const QtPrivate__ExceptionStore* self) {
|
|
|
|
return self->hasThrown();
|
2024-08-29 07:01:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QtPrivate__ExceptionStore_Delete(QtPrivate__ExceptionStore* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|