]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libxml bindings: Improve coverage
authorAdrien Bustany <abustany@gnome.org>
Sun, 14 Feb 2010 20:25:00 +0000 (17:25 -0300)
committerAdrien Bustany <abustany@gnome.org>
Sun, 14 Feb 2010 20:25:00 +0000 (17:25 -0300)
This commit adds the following functions:
- xmlNextElementSibling
- xmlFirstElementChild
- xmlChildElementCount

vapi/libxml-2.0.vapi

index 75ec461e566178af52782f6cbf4cf9474ffd45aa..4c33c3cde00d6d7c02be2382d5f00bbb561a9ba2 100644 (file)
@@ -765,6 +765,15 @@ namespace Xml {
 
                [CCode (cname = "xmlUnsetProp")]
                public int unset_prop (string name);
+
+               [CCode (cname = "xmlNextElementSibling")]
+               public Node* next_element_sibling ();
+
+               [CCode (cname = "xmlFirstElementChild")]
+               public Node* first_element_child ();
+
+               [CCode (cname = "xmlChildElementCount")]
+               public ulong child_element_count ();
        }
 
        [Compact]