#include #include #include "gen_qcontiguouscache.h" #ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } /* extern C */ #endif QContiguousCacheData* QContiguousCacheData_AllocateData(int size, int alignment) { return QContiguousCacheData::allocateData(static_cast(size), static_cast(alignment)); } void QContiguousCacheData_FreeData(QContiguousCacheData* data) { QContiguousCacheData::freeData(data); } void QContiguousCacheData_Delete(QContiguousCacheData* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }