2024-08-25 04:08:24 +00:00
|
|
|
#include <QRunnable>
|
2024-10-16 05:07:56 +00:00
|
|
|
#include <qrunnable.h>
|
2024-08-29 07:01:51 +00:00
|
|
|
#include "gen_qrunnable.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
#include "_cgo_export.h"
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
void QRunnable_Run(QRunnable* self) {
|
|
|
|
self->run();
|
|
|
|
}
|
|
|
|
|
2024-09-11 05:41:09 +00:00
|
|
|
bool QRunnable_AutoDelete(const QRunnable* self) {
|
|
|
|
return self->autoDelete();
|
2024-08-25 04:08:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void QRunnable_SetAutoDelete(QRunnable* self, bool _autoDelete) {
|
|
|
|
self->setAutoDelete(_autoDelete);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRunnable_OperatorAssign(QRunnable* self, QRunnable* param1) {
|
|
|
|
self->operator=(*param1);
|
|
|
|
}
|
|
|
|
|
|
|
|
void QRunnable_Delete(QRunnable* self) {
|
|
|
|
delete self;
|
|
|
|
}
|
|
|
|
|