Diff for /Amaya/amaya/templateUtils.c between versions 1.7 and 1.8

version 1.7, 2007/01/29 08:58:12 version 1.8, 2007/01/29 11:17:16
Line 52  void SetAttributeStringValue (Element el Line 52  void SetAttributeStringValue (Element el
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
 Returns the value of a string attribute   Returns the value of a string attribute 
 ----------------------------------------------------------------------*/  ----------------------------------------------------------------------*/
 char *GetAttributeStringValue (Element el, int att, int* sz)  char *GetAttributeStringValueFromNum (Element el, int att, int* sz)
 {  {
 #ifdef TEMPLATES  #ifdef TEMPLATES
         AttributeType attType;          AttributeType attType;
Line 68  char *GetAttributeStringValue (Element e Line 68  char *GetAttributeStringValue (Element e
     *sz = size;      *sz = size;
         return aux;          return aux;
 #else  #else
         return '\0';          return NULL;
 #endif /* TEMPLATES */  #endif /* TEMPLATES */
 }  }
   
Line 85  char *GetAttributeStringValue (Element e Line 85  char *GetAttributeStringValue (Element e
     *sz = size;      *sz = size;
         return aux;          return aux;
 #else  #else
         return '\0';          return NULL;
 #endif /* TEMPLATES */  #endif /* TEMPLATES */
 }  }
   

Removed from v.1.7  
changed lines
  Added in v.1.8


Webmaster