2024-08-25 04:08:24 +00: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-09-14 22:29:05 +00:00
|
|
|
#include "binding.h"
|
|
|
|
|
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);
|
|
|
|
void QContiguousCacheData_Delete(QContiguousCacheData* self);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|