Added mxml_get_parent()

This commit is contained in:
2012-02-10 14:54:14 +00:00
parent d8cffaed40
commit 409578642d
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -1056,6 +1056,14 @@ PMXML_NODE mxml_find_node(PMXML_NODE tree, const char *xml_path)
/*------------------------------------------------------------------*/
PMXML_NODE mxml_get_parent(PMXML_NODE pnode)
{
assert(pnode);
return pnode->parent;
}
/*------------------------------------------------------------------*/
char *mxml_get_name(PMXML_NODE pnode)
{
assert(pnode);