Diff for /rpl/src/rplexternals.h between versions 1.80 and 1.83

version 1.80, 2017/07/05 13:53:40 version 1.83, 2017/07/10 14:47:59
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 elseIfIsExternal(a, b) } else if (((*a).type == EXT) && \
               ((*a).extension_type == b))
 #define subType(a) ((*a).extension_type)  #define subType(a) ((*a).extension_type)
 #define integerFormat(a) formateur_nombre(s_etat_processus, a, 'I')  #define integerFormat(a) formateur_nombre(s_etat_processus, a, 'I')
   #define procStatus(a) (*a).s_etat_processus
   
 /*  /*
 --------------------------------------------------------------------------------  --------------------------------------------------------------------------------
Line 1063 Line 1067
     ((*rpl_object).type == CHN)      ((*rpl_object).type == CHN)
   
 #define ifIsString(rpl_object) if (isString(rpl_object))  #define ifIsString(rpl_object) if (isString(rpl_object))
 #define elseIfIsString(rpl_object) else if (isString(rpl_object))  #define elseIfIsString(rpl_object) } else if (isString(rpl_object))
   
 #define setString(rpl_object, string) do { \  #define setString(rpl_object, string) do { \
     struct_processus *s_etat_processus; \      struct_processus *s_etat_processus; \
Line 1243 Line 1247
         } \          } \
     } } while(0)      } } while(0)
   
   // NON
   #define createObject(rpl_object) do { \
       if (rpl_object != NULL) \
           systemError("Reallocated object"); \
       if ((rpl_object = _allocation(NON)) == NULL) \
           systemError("Memory allocation error"); \
       (*rpl_object).objet = NULL; \
       } while(0)
   
 // EXT  // EXT
 #define createExternalObject(rpl_object, subtype) do { \  #define createExternalObject(rpl_object, subtype) do { \
     if (rpl_object != NULL) \      if (rpl_object != NULL) \

Removed from v.1.80  
changed lines
  Added in v.1.83


CVSweb interface <joel.bertrand@systella.fr>