miqt/qt6/gen_qcontiguouscache.cpp

25 lines
553 B
C++
Raw Normal View History

2024-10-20 18:21:03 +13:00
#include <QContiguousCacheData>
#include <qcontiguouscache.h>
#include "gen_qcontiguouscache.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
} /* extern C */
#endif
2024-10-20 18:21:03 +13:00
2025-02-01 13:45:16 +13:00
QContiguousCacheData* QContiguousCacheData_allocateData(ptrdiff_t size, ptrdiff_t alignment) {
2024-10-20 18:21:03 +13:00
return QContiguousCacheData::allocateData((qsizetype)(size), (qsizetype)(alignment));
}
2025-02-01 13:45:16 +13:00
void QContiguousCacheData_freeData(QContiguousCacheData* data) {
2024-10-20 18:21:03 +13:00
QContiguousCacheData::freeData(data);
}
2025-02-01 13:45:16 +13:00
void QContiguousCacheData_delete(QContiguousCacheData* self) {
delete self;
2024-10-20 18:21:03 +13:00
}