[Vala] gda-sql-parser.h not being included when using libgda-5.0
- From: Shem Pasamba <shemgp gmail com>
- To: "vala-list gnome org" <vala-list gnome org>
- Subject: [Vala] gda-sql-parser.h not being included when using libgda-5.0
- Date: Tue, 24 Sep 2019 23:12:18 +0800
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]