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 */ |
} |
} |
|
|