![]() |
Qt 6.x
The Qt SDK
|
#include <QtCore/qcompilerdetection.h>
#include <QtCore/qtconfigmacros.h>
#include <QtCore/qtcoreexports.h>
#include <cstddef>
Go to the source code of this file.
Functions | |
QT_BEGIN_NAMESPACE Q_CORE_EXPORT void * | qMallocAligned (size_t size, size_t alignment) Q_ALLOC_SIZE(1) |
Q_CORE_EXPORT void * | qReallocAligned (void *ptr, size_t size, size_t oldsize, size_t alignment) Q_ALLOC_SIZE(2) |
Q_CORE_EXPORT void | qFreeAligned (void *ptr) |
Definition at line 71 of file qmalloc.cpp.
References ptr().
Referenced by QContiguousCacheData::freeData(), and qMapDeallocate().
QT_BEGIN_NAMESPACE Q_CORE_EXPORT void * qMallocAligned | ( | size_t | size, |
size_t | alignment | ||
) |
Definition at line 17 of file qmalloc.cpp.
References alignment, and qReallocAligned().
Referenced by QContiguousCacheData::allocateData(), and qMapAllocate().
Definition at line 22 of file qmalloc.cpp.
References alignment, oldsize, and qMin().
Referenced by qMallocAligned().