Commited definition of Xorriso_alloc_meM which is needed since 30 revisions
This commit is contained in:
parent
12341a9bf3
commit
09cec3aa3d
@ -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
|
||||
|
||||
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2011.05.06.120834"
|
||||
#define Xorriso_timestamP "2011.05.06.121218"
|
||||
|
Loading…
Reference in New Issue
Block a user