mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
22 lines
552 B
C++
22 lines
552 B
C++
#include <QContiguousCacheData>
|
|
#include "qcontiguouscache.h"
|
|
|
|
#include "gen_qcontiguouscache.h"
|
|
|
|
extern "C" {
|
|
extern void miqt_exec_callback(void* cb, int argc, void* argv);
|
|
}
|
|
|
|
QContiguousCacheData* QContiguousCacheData_AllocateData(int size, int alignment) {
|
|
return QContiguousCacheData::allocateData(static_cast<int>(size), static_cast<int>(alignment));
|
|
}
|
|
|
|
void QContiguousCacheData_FreeData(QContiguousCacheData* data) {
|
|
QContiguousCacheData::freeData(data);
|
|
}
|
|
|
|
void QContiguousCacheData_Delete(QContiguousCacheData* self) {
|
|
delete self;
|
|
}
|
|
|