Re: [Vala] gnome-db - binding problems

2009-01-20 Thread Frederik
I am trying to bind libgda-3.0 (generation base attached to this mail). I have already worked around some naming conflicts via metadata. But for one thing I have no solution: In 'libgda/gda-data-model.h' there is this enum: typedef enum { GDA_DATA_MODEL_ACCESS_RANDOM = 1 0,

Re: [Vala] gnome-db - binding problems

2009-01-20 Thread Hans Vercammen
On Tue, 2009-01-20 at 13:55 +0100, Frederik wrote: I am trying to bind libgda-3.0 (generation base attached to this mail). I have already worked around some naming conflicts via metadata. But for one thing I have no solution: Cool! In 'libgda/gda-data-model.h' there is this enum: typedef

Re: [Vala] gnome-db - binding problems

2009-01-20 Thread Frederik
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

Re: [Vala] gnome-db - binding problems

2009-01-20 Thread Hans Vercammen
On Tue, 2009-01-20 at 14:39 +0100, Frederik wrote: How did you bind 'libsql/sql_parser.h'? It has unions and stuff. :( The internals in v4 have changed significantly. I didn't check into the unions generation, but these do not seem to exist anymore. It's a bit odd. I get an error for v3:

Re: [Vala] gnome-db - binding problems

2009-01-20 Thread Hans Vercammen
On Tue, 2009-01-20 at 16:02 +0100, Frederik wrote: Hans Vercammen wrote: /usr/include/libgda-3.0/libsql/sql_parser.h:122: syntax error, unexpected typedef-name, expecting identifier or '(' /usr/include/libgda-3.0/libsql/sql_parser.h:297: syntax error, unexpected typedef-name, expecting

Re: [Vala] gnome-db - binding problems

2009-01-20 Thread Jürg Billeter
On Tue, 2009-01-20 at 19:24 +0100, Hans Vercammen wrote: On Tue, 2009-01-20 at 16:02 +0100, Frederik wrote: Hans Vercammen wrote: /usr/include/libgda-3.0/libsql/sql_parser.h:122: syntax error, unexpected typedef-name, expecting identifier or '('