Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qdarwinhelpers.h
Go to the documentation of this file.
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QTDARWINHELPERS_H
6
#
define
QTDARWINHELPERS_H
7
8
#
if
0
9
#
pragma
qt_class
(
QtDarwinHelpers
)
10
#
pragma
qt_sync_stop_processing
11
#
endif
12
13
/*
14
Utility macros and inline functions
15
*/
16
17
#
ifndef
Q_FORWARD_DECLARE_OBJC_CLASS
18
#
ifdef
__OBJC__
19
#
define
Q_FORWARD_DECLARE_OBJC_CLASS
(
classname
)
@
class
classname
20
#
else
21
#
define
Q_FORWARD_DECLARE_OBJC_CLASS
(
classname
)
class
classname
22
#
endif
23
#
endif
24
#
ifndef
Q_FORWARD_DECLARE_CF_TYPE
25
#
define
Q_FORWARD_DECLARE_CF_TYPE
(
type
)
typedef
const
struct
__
##
type
*
type
##
Ref
26
#
endif
27
#
ifndef
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE
28
#
define
Q_FORWARD_DECLARE_MUTABLE_CF_TYPE
(
type
)
typedef
struct
__
##
type
*
type
##
Ref
29
#
endif
30
#
ifndef
Q_FORWARD_DECLARE_CG_TYPE
31
#
define
Q_FORWARD_DECLARE_CG_TYPE
(
type
)
typedef
const
struct
type
*
type
##
Ref
32
#
endif
33
#
ifndef
Q_FORWARD_DECLARE_MUTABLE_CG_TYPE
34
#
define
Q_FORWARD_DECLARE_MUTABLE_CG_TYPE
(
type
)
typedef
struct
type
*
type
##
Ref
35
#
endif
36
37
38
#
endif
// QTDARWINHELPERS_H
qtbase
src
corelib
global
qdarwinhelpers.h
Generated on
for Qt by
1.16.1