[Vala] vapi-gen for libgda



Been fiddling with generating this Vapi, having a hard time figuring out
what I'm doing wrong. Any help would be appreciated!

Directory:
libgda-glib/
     libgda-3.0.files
     libgda-3.0.namespace

libgda-3.0.files:
include/libgda-3.0/libgda/
lib/libgda-3.0.so

libgda-3.0.namespace:
Gda


Here's the command with output:

$ vala-gen-introspect libgda-3.0 libgda-glib/
/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 ')'
/usr/include/libgda-3.0/libsql/sql_parser.h:298: syntax error,
unexpected typedef-name, expecting ')'
/usr/include/libgda-3.0/libsql/sql_parser.h:298: syntax error,
unexpected ')', expecting ',' or ';'
/usr/include/libgda-3.0/libgda/gda-dict-reg-types.h:27: syntax error,
unexpected identifier
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject
Unknown symbol: GObject


It generates libgda-3.0.gi (which I'll send if needed, too long to
inline), and an empty libgda-3.0.vapi.




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