2024-08-25 16:08:24 +12:00
|
|
|
#ifndef GEN_QCONTIGUOUSCACHE_H
|
|
|
|
#define GEN_QCONTIGUOUSCACHE_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 18:07:56 +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 QContiguousCacheData;
|
|
|
|
#else
|
|
|
|
typedef struct QContiguousCacheData QContiguousCacheData;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
QContiguousCacheData* QContiguousCacheData_AllocateData(int size, int alignment);
|
|
|
|
void QContiguousCacheData_FreeData(QContiguousCacheData* data);
|
|
|
|
void QContiguousCacheData_Delete(QContiguousCacheData* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|