[Vala] gda-sql-parser.h not being included when using libgda-5.0



Hello,

How do I make my vala code add a #include
<libgda/sql-parser/gda-sql-parser.h> in the c generated code?

Spent some time debugging why my code was crashing at:
Gda.Statement s = parser.parse_string(sql, out remain);
which is at gda-sql-parser.c:451 (seen from gdb after installing *-dbgsyms
in ubuntu), but finally figured out that the said include file was not
being included.

I looked at the vapi file at /usr/share/vala/vapi/libgda-5.0.vapi and that
include for that file is not there. Should I file a bug report for this? If
so, where? And if I can cook up a patch, should I patch the vapi file?

Thanks for your help & answers.

All the best,

Shem Pasamba


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