Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtCore/qmalloc.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright (C) 2022 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QMALLOC_H
0005 #define QMALLOC_H
0006 
0007 #include <QtCore/qcompilerdetection.h>
0008 #include <QtCore/qtconfigmacros.h>
0009 #include <QtCore/qtcoreexports.h>
0010 
0011 #include <cstddef> // size_t
0012 
0013 #if 0
0014 #pragma qt_class(QtMalloc)
0015 #pragma qt_sync_stop_processing
0016 #endif
0017 
0018 QT_BEGIN_NAMESPACE
0019 
0020 Q_CORE_EXPORT void *qMallocAligned(size_t size, size_t alignment) Q_ALLOC_SIZE(1);
0021 Q_CORE_EXPORT void *qReallocAligned(void *ptr, size_t size, size_t oldsize, size_t alignment) Q_ALLOC_SIZE(2);
0022 Q_CORE_EXPORT void qFreeAligned(void *ptr);
0023 
0024 QT_END_NAMESPACE
0025 
0026 #endif // QMALLOC_H