mirror of
https://github.com/mappu/miqt.git
synced 2025-01-20 21:50:38 +00:00
25 lines
553 B
C++
25 lines
553 B
C++
#include <QContiguousCacheData>
|
|
#include <qcontiguouscache.h>
|
|
#include "gen_qcontiguouscache.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
QContiguousCacheData* QContiguousCacheData_AllocateData(ptrdiff_t size, ptrdiff_t alignment) {
|
|
return QContiguousCacheData::allocateData((qsizetype)(size), (qsizetype)(alignment));
|
|
}
|
|
|
|
void QContiguousCacheData_FreeData(QContiguousCacheData* data) {
|
|
QContiguousCacheData::freeData(data);
|
|
}
|
|
|
|
void QContiguousCacheData_Delete(QContiguousCacheData* self) {
|
|
delete self;
|
|
}
|
|
|