MemoryLeakIndicator
Loading...
Searching...
No Matches
MemoryLeakIndicatorGlobals.h File Reference

Header for global void pointer to a MemSpy::LeakMap. More...

Go to the source code of this file.

Macros

#define nullptr   NULL
 

Variables

void * g_pVoidLeakMap = nullptr
 

Detailed Description

Header for global void pointer to a MemSpy::LeakMap.

Author
Helmut Jakoby

Terms of License The source code in this file is licensed.

SPDX-License-Identifier: AGPL-3.0-or-later

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

◆ nullptr

#define nullptr   NULL

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

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

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

Variable Documentation

◆ g_pVoidLeakMap

void* g_pVoidLeakMap = nullptr
extern

Global pointer to a MemSpy::LeakMap.