ManaPlus
Macros
delete2.h File Reference

(642df39)

Go to the source code of this file.

Macros

#define delete2(var)
 
#define delete2Arr(var)
 

Macro Definition Documentation

◆ delete2

#define delete2 (   var)
Value:
{\
delete var;\
var = nullptr;\
}

Definition at line 24 of file delete2.h.

◆ delete2Arr

#define delete2Arr (   var)
Value:
{\
delete []var;\
var = nullptr;\
}

Definition at line 30 of file delete2.h.