ArnLib
4.0.x
Active Registry Network
ArnLib_global.hpp
Go to the documentation of this file.
1
#ifndef ARNLIB_GLOBAL_HPP
2
#define ARNLIB_GLOBAL_HPP
3
4
#include <QtCore/qglobal.h>
5
6
#if defined(ARNLIB_LIBRARY)
7
# define ARNLIBSHARED_EXPORT Q_DECL_EXPORT
8
#elif defined(ARNLIB_COMPILE)
9
# define ARNLIBSHARED_EXPORT
10
#else
11
# define ARNLIBSHARED_EXPORT Q_DECL_IMPORT
12
#endif
13
14
#if __cplusplus >= 201103L || (__cplusplus < 200000 && __cplusplus > 199711L)
15
// Use C++11 nullptr
16
# define arnNullptr nullptr
17
#else
18
# if 1
19
struct
ArnNullptr
20
{
21
template
<
class
T>
22
inline
operator
T* () {
return
(T*)0;}
23
};
24
static
struct
ArnNullptr
__attribute__((used)) arnNullptr;
25
# else
26
# define arnNullptr 0
27
# endif
28
#endif
29
30
#endif // ARNLIB_GLOBAL_HPP
ArnNullptr
Definition:
ArnLib_global.hpp:19
src
ArnInc
ArnLib_global.hpp
Generated on Tue Feb 22 2022 01:34:35 for ArnLib by
1.8.14