Re: [Vala] gnome-db - binding problems



Hans Vercammen wrote:
I think this was a problem with the v4 build too. glib-mkenums generates
a duplicate registration in the .so

I wasn't aware that v4 is almost done, my Ubuntu only has v3 packages.

How did you bind 'libsql/sql_parser.h'? It has unions and stuff. :(
Right now, I have only stubs for the classes.

Running vapigen still produces errors:

$ vapigen --library libgda-3.0 libgda-3.0/libgda-3.0.gi
          --vapidir=libgda-3.0

 error: The type name `Xml.Node*' could not be found
 error: The type name `GLib.DateDMY' could not be found

Xml.Node should be found, since I have added 'libxml-2.0' to the .deps
file. What am I doing wrong?

In v4 I had to do:
sed -i 's/xmlNodePtr/xmlNode*/g' libgda-4.0.gi

Generation succeeded - 0 warning(s)

:) Thanks. But this should be doable with metadata. I have tried

 xmlNodePtr name="Xml.Node*"

but it didn't work.


Regards,

Frederik

Attachment: libgda-3.0-bindings-preview.tar.gz
Description: GNU Zip compressed data



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