SVN revision: 3807
This commit is contained in:
Carsten Haitzler 2000-11-03 00:29:05 +00:00
parent 5787acde54
commit 376cb1963e
1 changed files with 2 additions and 2 deletions

View File

@ -673,8 +673,8 @@ if (!atom) atom = e_atom_get(name);
#define MEMCPY(src, dst, type, num) memcpy(dst, src, sizeof(type) * (num))
#define NEW(dat, num) malloc(sizeof(dat) * (num));
#define ZERO(ptr, dat, num) memset(ptr, 0, sizeof(dat) * (num));
#define NEW(dat, num) malloc(sizeof(dat) * (num))
#define ZERO(ptr, dat, num) memset(ptr, 0, sizeof(dat) * (num))
#define NEW_PTR(num) malloc(sizeof(void *) * (num))
#define FREE(dat) {free(dat); dat = NULL;}
#define IF_FREE(dat) {if (dat) FREE(dat);}