2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QCONTIGUOUSCACHE_H
|
|
|
|
#define MIQT_QT_GEN_QCONTIGUOUSCACHE_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QContiguousCacheData;
|
|
|
|
#else
|
|
|
|
typedef struct QContiguousCacheData QContiguousCacheData;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QContiguousCacheData* QContiguousCacheData_AllocateData(int size, int alignment);
|
|
|
|
void QContiguousCacheData_FreeData(QContiguousCacheData* data);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QContiguousCacheData_Delete(QContiguousCacheData* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|