version 1.68, 2015/11/26 11:44:43
|
version 1.69, 2015/12/13 22:55:01
|
Line 1203
|
Line 1203
|
if ((ptr = malloc(a)) == NULL) \ |
if ((ptr = malloc(a)) == NULL) \ |
systemError("Memory allocation error"); ptr; }) |
systemError("Memory allocation error"); ptr; }) |
|
|
|
#define reallocate(a, s) ({ void *ptr; \ |
|
struct_processus *s_etat_processus; \ |
|
s_etat_processus = (*rpl_arguments).s_etat_processus; \ |
|
if ((ptr = realloc(a, s)) == NULL) \ |
|
systemError("Memory allocation error"); ptr; }) |
|
|
#define deallocate(a) do { \ |
#define deallocate(a) do { \ |
struct_processus *s_etat_processus; \ |
struct_processus *s_etat_processus; \ |
s_etat_processus = (*rpl_arguments).s_etat_processus; \ |
s_etat_processus = (*rpl_arguments).s_etat_processus; \ |