Commited definition of Xorriso_alloc_meM which is needed since 30 revisions

This commit is contained in:
Thomas Schmitt 2011-05-06 12:11:50 +00:00
parent 12341a9bf3
commit 09cec3aa3d
2 changed files with 15 additions and 1 deletions

View File

@ -16,6 +16,20 @@
#define Smem_malloC malloc
#define Smem_freE free
#define Xorriso_alloc_meM(pt,typ,anz) { \
pt= (typ *) calloc(1, (anz)*sizeof(typ)); \
if(pt == NULL) { \
Xorriso_no_malloc_memory(xorriso, NULL, 0); \
ret= -1; \
goto ex; \
} }
#define Xorriso_free_meM(pt) { \
if(pt != NULL) \
free(pt); \
}
#define SfileadrL 4096

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.06.120834"
#define Xorriso_timestamP "2011.05.06.121218"