1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QFUNCTIONPOINTER_H
5#define QFUNCTIONPOINTER_H
6
7#include <QtCore/qtconfigmacros.h>
8
9#if 0
10#pragma qt_class(QFunctionPointer)
11#endif
12
13#if defined(__cplusplus)
14
15QT_BEGIN_NAMESPACE
16
17typedef void (*QFunctionPointer)();
18
19QT_END_NAMESPACE
20
21#endif // __cplusplus
22
23#endif // QFUNCTIONPOINTER_H
24

source code of qtbase/src/corelib/global/qfunctionpointer.h