Re: [Vala] Problem with get_table and free_table in sqlite binding



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=540823
http://bugzilla.gnome.org/show_bug.cgi?id=542235

Matias


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