CPPMyth
Library to interoperate with MythTV server
cppdef.h
1 #pragma once
2 
3 #include <cstddef>
4 
5 #define SAFE_DELETE(p) if ((p) != NULL) { delete (p); (p) = NULL; }
6 #define SAFE_DELETE_ARRAY(p) if ((p) != NULL) { delete[] (p); (p) = NULL; }