2024-11-17 19:21:37 +13:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT6_CBOR_GEN_QCBORCOMMON_H
|
|
|
|
#define MIQT_QT6_CBOR_GEN_QCBORCOMMON_H
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-11-04 22:24:09 +13:00
|
|
|
#include "../../libmiqt/libmiqt.h"
|
2024-09-15 10:29:05 +12:00
|
|
|
|
2024-08-25 16:08:24 +12:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QCborError;
|
|
|
|
#else
|
|
|
|
typedef struct QCborError QCborError;
|
|
|
|
#endif
|
|
|
|
|
2025-01-04 12:19:04 +13:00
|
|
|
int QCborError_ToQCborError__Code(const QCborError* self);
|
2025-02-01 13:45:16 +13:00
|
|
|
struct miqt_string QCborError_toString(const QCborError* self);
|
|
|
|
void QCborError_delete(QCborError* self);
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
2025-02-01 13:45:16 +13:00
|
|
|
#endif
|
2024-08-25 16:08:24 +12:00
|
|
|
|
|
|
|
#endif
|