summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qfunctionpointer.h
blob: 3884954f89776a986e885e250c29efb9b24d08c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QFUNCTIONPOINTER_H
#define QFUNCTIONPOINTER_H

#include <QtCore/qtconfigmacros.h>

#if 0
#pragma qt_class(QFunctionPointer)
#endif

#if defined(__cplusplus)

QT_BEGIN_NAMESPACE

typedef void (*QFunctionPointer)();

QT_END_NAMESPACE

#endif // __cplusplus

#endif // QFUNCTIONPOINTER_H