ManaPlus
Macros
delete2.h File Reference

(986a3bf)

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 25 of file delete2.h.

◆ delete2Arr

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

Definition at line 31 of file delete2.h.