[Vala] libxml2 bindings question Node.child_element_count()



Hi all,

I've been using vala for a project for a Fremantle (Arm -Maemo5)
target, but came across an issue using libxml2.
Xml.Node.child_element_count() doesn't seem to exist within Fremantle
when it works as documented from my standard linux 64bit distro. Vala
is version 0.8.0 on both platforms and the libxml-2.0.vapi files are
identical.

However, .libxml/tree.h differs across the two platforms, namely
Fremantle does not include a definition for xmlChildElementCount
amongst others.

Naturally, code using these methods compiles and runs fine for native
64bit and fails to compile for Fremantle complaining of missing
references. Coding around the issue allows me to do what I need to do
of course.

Is this just a fact of life (I know it's an awkward library
generally), is there an issue with the Fremantle distro for vala
(should the vapi files be brought into line for the platform), or am I
missing something obvious?

kindest regards,

mr id



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]