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 NULL_PTR   NULL
 

Variables

void * g_pVoidLeakMap = NULL_PTR
 

Detailed Description

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

Author
Helmut Jakoby

Terms of License

This file is part of the MemoryLeakIndicator module.

MemoryLeakIndicator 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"!

Variable Documentation

◆ g_pVoidLeakMap

void* g_pVoidLeakMap = NULL_PTR
extern

Global pointer to a MemSpy::LeakMap.