version 1.82, 2017/07/10 07:26:12
|
version 1.85, 2017/07/17 21:37:41
|
Line 105
|
Line 105
|
#define initializeObject(a, b) do { \ |
#define initializeObject(a, b) do { \ |
(*a).descripteur_bibliotheque = (*b).descripteur_bibliotheque; \ |
(*a).descripteur_bibliotheque = (*b).descripteur_bibliotheque; \ |
(*a).extension_type = (*b).extension_type; } while(0) |
(*a).extension_type = (*b).extension_type; } while(0) |
#define objectContainer(a) (*a).objet |
#define objectContainer(a) ((*a).objet) |
#define ifIsExternal(a, b) if (((*a).type == EXT) && ((*a).extension_type == b)) |
#define ifIsExternal(a, b) if (((*a).type == EXT) && ((*a).extension_type == b)) |
#define elseIfIsExternal(a, b) } else if (((*a).type == EXT) && \ |
#define elseIfIsExternal(a, b) } else if (((*a).type == EXT) && \ |
((*a).extension_type == b)) |
((*a).extension_type == b)) |
Line 149
|
Line 149
|
({ __CATCH_SYSTEM_ERROR__; typeof(daisyChain) __daisyChain = daisyChain; \ |
({ __CATCH_SYSTEM_ERROR__; typeof(daisyChain) __daisyChain = daisyChain; \ |
if (__daisyChain == NULL) executionError("End of daisy chain"); \ |
if (__daisyChain == NULL) executionError("End of daisy chain"); \ |
(__daisyChain == NULL) ? NULL : (*__daisyChain).suivant; }) |
(__daisyChain == NULL) ? NULL : (*__daisyChain).suivant; }) |
|
|
|
#define next suivant |
|
#define data donnee |
|
|
#define null NULL |
#define null NULL |
#define nullify(ptr) __CATCH_SYSTEM_ERROR__; do { ptr = NULL; } while(0) |
#define nullify(ptr) __CATCH_SYSTEM_ERROR__; do { ptr = NULL; } while(0) |
Line 223
|
Line 226
|
unsigned char __taille_bloc; \ |
unsigned char __taille_bloc; \ |
unsigned char __type; \ |
unsigned char __type; \ |
t_8_bits __masque; \ |
t_8_bits __masque; \ |
|
void *s_etat_processus = (*rpl_arguments).s_etat_processus; \ |
|
DISABLE_SET_BUT_NOT_USED_WARNING(s_etat_processus); \ |
{ \ |
{ \ |
(*rpl_arguments).instruction_valide = 'Y'; \ |
(*rpl_arguments).instruction_valide = 'Y'; \ |
(*rpl_arguments).erreur = 0; \ |
(*rpl_arguments).erreur = 0; \ |
Line 364
|
Line 369
|
#define endSubroutine END } |
#define endSubroutine END } |
|
|
#define notice(s, ...) __CATCH_SYSTEM_ERROR__; \ |
#define notice(s, ...) __CATCH_SYSTEM_ERROR__; \ |
do { if (affichage_rplso == d_vrai) \ |
do { ufprintf(s, __VA_ARGS__); fflush(s); } while(0) |
{ ufprintf(s, __VA_ARGS__); fflush(s); } } while(0) |
|
#define logger(...) __CATCH_SYSTEM_ERROR__; \ |
#define logger(...) __CATCH_SYSTEM_ERROR__; \ |
do { syslog(LOG_NOTICE, __VA_ARGS__); } while(0) |
do { syslog(LOG_NOTICE, __VA_ARGS__); } while(0) |
|
|