diff --git a/doc/mxml.man b/doc/mxml.man index ee86c9c..8d4586c 100644 --- a/doc/mxml.man +++ b/doc/mxml.man @@ -232,18 +232,6 @@ MXML_TEXT .br Text fragment .SH FUNCTIONS -.SS index_sort -Sort the nodes in the index... -.PP -.nf -void index_sort ( - mxml_index_t *ind, - int left, - int right -); -.fi -.PP -This function implements the classic quicksort algorithm... .SS mxmlAdd Add a node to a tree. .PP @@ -1262,16 +1250,6 @@ mxml_node_t * mxmlWalkPrev ( The descend argument controls whether the previous node's last child is considered to be the previous node. The top node argument constrains the walk to the node's children. -.SS mxml_free -Free the memory used by a node. -.PP -.nf -void mxml_free ( - mxml_node_t *node -); -.fi -.PP -Note: Does not free child nodes, does not remove from parent. .SH TYPES .SS mxml_custom_destroy_cb_t Custom data destructor diff --git a/doc/reference.html b/doc/reference.html index 6f041d5..9b85e27 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -176,7 +176,6 @@ h3.title {
Sort the nodes in the index...
--void index_sort(mxml_index_t *ind, int left, int right);
-ind | -Index to sort |
---|---|
left | -Left node in partition |
right | -Right node in partition |
This function implements the classic quicksort algorithm...
Add a node to a tree.
@@ -1578,17 +1561,6 @@ the node's children.
The descend argument controls whether the previous node's last child is considered to be the previous node. The top node argument constrains the walk to the node's children.
-Free the memory used by a node.
--void mxml_free(mxml_node_t *node);
-node | -Node |
---|
Note: Does not free child nodes, does not remove from parent.
Custom data destructor
diff --git a/mxmldoc.c b/mxmldoc.c index b171c49..d114b8a 100644 --- a/mxmldoc.c +++ b/mxmldoc.c @@ -3276,7 +3276,7 @@ scan_file(const char *filename, /* I - Filename */ comment->last_child->value.text.string : "(null)"); #endif /* DEBUG */ - if (type->last_child && strcmp(type->last_child->value.text.string, "void")) + if (type->last_child && (strcmp(type->last_child->value.text.string, "void") || !strcmp(type->child->value.text.string, "static"))) { returnvalue = mxmlNewElement(function, "returnvalue");