version 1.31, 2008/09/30 10:38:13
|
version 1.32, 2008/09/30 10:46:21
|
Line 152 int GetAttributeIntValueFromNum (Element
|
Line 152 int GetAttributeIntValueFromNum (Element
|
#ifdef TEMPLATES |
#ifdef TEMPLATES |
AttributeType attType; |
AttributeType attType; |
Attribute attribute; |
Attribute attribute; |
char *aux; |
|
int size; |
|
|
|
attType.AttrSSchema = TtaGetElementType(el).ElSSchema; |
attType.AttrSSchema = TtaGetElementType(el).ElSSchema; |
attType.AttrTypeNum = att; |
attType.AttrTypeNum = att; |
Line 232 char *GetAncestorComponentName (Element
|
Line 230 char *GetAncestorComponentName (Element
|
anc = TtaGetExactTypedAncestor (anc, elType); |
anc = TtaGetExactTypedAncestor (anc, elType); |
if (anc) |
if (anc) |
{ |
{ |
name = GetAttributeStringValueFromNum (anc, Template_ATTR_name, NULL); |
name = GetAttributeStringValueFromNum (anc, Template_ATTR_name, NULL); |
*el = anc; |
*el = anc; |
return name; |
return name; |
} |
} |
#else |
|
return NULL; |
|
#endif /* TEMPLATES */ |
#endif /* TEMPLATES */ |
|
return NULL; |
} |
} |
|
|
|
|