mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
18 lines
494 B
C++
18 lines
494 B
C++
|
#include <QContiguousCacheData>
|
||
|
#include <qcontiguouscache.h>
|
||
|
#include "gen_qcontiguouscache.h"
|
||
|
#include "_cgo_export.h"
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|