Re: [Vala] Problem with get_table and free_table in sqlite binding
- From: "Matías De la Puente" <mfpuente ar gmail com>
- To: "Phil Housley" <undeconstructed gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problem with get_table and free_table in sqlite binding
- Date: Tue, 15 Jul 2008 12:28:54 -0300
Ok, I Fix the bug!!
Change get_table and free_table of sqlite3.vapi with this:
[NoArrayLength]
public int get_table (string sql, out weak string[] resultp, out int nrow, out int ncolumn, out weak string errmsg);
[NoArrayLength]
public static void free_table (string[] result);
Remember to use nrow and ncolumn to manage resultp. Don't use resultp.length it always return 0.
Maintainers: Change the vapi file, please!!!
See the bug reports to close the problem:
http://bugzilla.gnome.org/show_bug.cgi?id=540823http://bugzilla.gnome.org/show_bug.cgi?id=542235
Matias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]