#include <map>
#include <vector>
#include <string>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
Defines |
#define | SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } } |
#define | SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } } |
#define | SAFE_FREE(p) { if(p) { free(p); (p)=NULL; } } |
Define Documentation
#define SAFE_DELETE |
( |
|
p | ) |
{ if(p) { delete (p); (p)=NULL; } } |
#define SAFE_DELETE_ARRAY |
( |
|
p | ) |
{ if(p) { delete[] (p); (p)=NULL; } } |
#define SAFE_FREE |
( |
|
p | ) |
{ if(p) { free(p); (p)=NULL; } } |