GlobalObjects
Loading...
Searching...
No Matches
EuDef_NULL_PTR.h File Reference

This file exists so that the definition of NULL_PTR is centrally available. More...

Go to the source code of this file.

Macros

#define NULL_PTR   NULL
 

Typedefs

typedef long long NUM_PTR
 

Detailed Description

This file exists so that the definition of NULL_PTR is centrally available.

This file is usually included by every header where NULL_PTR is used.

Author
Helmut Jakoby

Terms of License

This file is part of the EuTools module.

EuTools is free software:

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

GNU Affero General Public License Usage
You can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Please review the following information to ensure the GNU Affero General Public License requirements will be met: https://www.gnu.org/licenses/agpl-3.0.en.html .

Macro Definition Documentation

◆ NULL_PTR

#define NULL_PTR   NULL

Depending on the C++ version NULL_PTR is defined as nullptr or NULL.

#if __cplusplus >= 201103L
#define NULL_PTR nullptr
#else
#define NULL_PTR NULL
#endif // __cplusplus >= 201703L

In Visual Studio extend the "Properties::C/C++::All options::Additional options:" with "/Zc:__cplusplus"!

Typedef Documentation

◆ NUM_PTR

typedef long long NUM_PTR

To support 32- and 64-bit, the type NUM_PTR is introduced for pointers to functions. This is always long long; i.e. 64-bit large.

typedef long long NUM_PTR;
long long NUM_PTR
Definition EuDef_NULL_PTR.h:93