BitmapToolkit Scol plugin
Namespaces | Macros
tinyxml2.cpp File Reference
#include <new>
#include <cstddef>
#include "tinyxml2.h"

Go to the source code of this file.

Namespaces

namespace  tinyxml2
 

Macros

#define DELETE_NODE(node)
 
#define DELETE_ATTRIBUTE(attrib)
 

Macro Definition Documentation

◆ DELETE_ATTRIBUTE

#define DELETE_ATTRIBUTE (   attrib)
Value:
{ \
if ( attrib ) { \
MemPool* pool = attrib->_memPool; \
attrib->~XMLAttribute(); \
pool->Free( attrib ); \
} \
}

Definition at line 58 of file tinyxml2.cpp.

◆ DELETE_NODE

#define DELETE_NODE (   node)
Value:
{ \
if ( node ) { \
MemPool* pool = node->_memPool; \
node->~XMLNode(); \
pool->Free( node ); \
} \
}

Definition at line 51 of file tinyxml2.cpp.