summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1c33003)
fprintf(stderr, "Error: not enough memory\n");\r
return NULLT;\r
}\r
fprintf(stderr, "Error: not enough memory\n");\r
return NULLT;\r
}\r
- setbit(par_aux,npar,OP); // marks a new opening parenthesis for the tree root\r
- npar++;\r
\r
tags_aux = (TagType *) malloc(sizeof(TagType));\r
if (!tags_aux) {\r
\r
tags_aux = (TagType *) malloc(sizeof(TagType));\r
if (!tags_aux) {\r
fprintf(stderr, "Error: not enough memory\n");\r
return NULLT; \r
}\r
fprintf(stderr, "Error: not enough memory\n");\r
return NULLT; \r
}\r
- setbit(par_aux,npar,CP); \r
- npar++;\r
\r
// creates the data structure for the tree topology\r
Par = (bp *)malloc(sizeof(bp)); \r
\r
// creates the data structure for the tree topology\r
Par = (bp *)malloc(sizeof(bp)); \r
return Text->GetText(d);\r
}\r
\r
return Text->GetText(d);\r
}\r
\r
+ TextCollection *getTextCollection() {\r
+ return Text;\r
+ }\r
/** Save: saves XML tree data structure to file. */\r
void Save(unsigned char *filename);\r
\r
/** Save: saves XML tree data structure to file. */\r
void Save(unsigned char *filename);\r
\r