GlobalObjects
Lade ...
Suche ...
Keine Treffer
EuDef_NULL_PTR.h-Dateireferenz

Damit die Definition von NULL_PTR und NUM_PTR zentral verfügbar ist, gibt es diese Datei. Mehr ...

gehe zum Quellcode dieser Datei

Makrodefinitionen

#define NULL_PTR   NULL
 

Typdefinitionen

typedef long long NUM_PTR
 

Ausführliche Beschreibung

Damit die Definition von NULL_PTR und NUM_PTR zentral verfügbar ist, gibt es diese Datei.

Diese Datei wird in der Regel von jeder Header, wo NULL_PTR bzw. NUM_PTR genutzt wird, eingebunden.

Autor
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 .

Makro-Dokumentation

◆ NULL_PTR

#define NULL_PTR   NULL

Je nach C++ Version wird NULL_PTR als nullptr oder NULL definiert.

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

In Visual Studio die "Eigenschaften::C/C++::Alle Optionen::Zusätzliche Optionen:" um "/Zc:__cplusplus" erweitern!

Dokumentation der benutzerdefinierten Typen

◆ NUM_PTR

typedef long long NUM_PTR

Um 32- und 64-Bit zu unterstützen, wird für Zeiger auf Funktionen der Typ NUM_PTR eingeführt. Dieser ist immer long long; also 64-Bit groß.

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