Re: [Vala] problem with GNet Connhttpeventresponse
- From: jezra <jezra lickter gmail com>
- To: Vala-list gnome org
- Subject: Re: [Vala] problem with GNet Connhttpeventresponse
- Date: Thu, 22 Jan 2009 15:08:09 -0800
On Thu, Jan 22, 2009 at 1:59 PM, Frederik <scumm_fredo gmx net> wrote:
jezra wrote:
I can now compile without error, but when I try to read the length of
the header_fields variable, I get a -1.
Yes, that's because it's a null terminated array and has no length
information. But just recently Vala has a solution for that problem:
http://bugzilla.gnome.org/show_bug.cgi?id=514186
Try
[CCode (array_length = false, array_null_terminated = true)]
Regards,
Frederik
_______________________________________________
Vala-list mailing list
Vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
Thank you, that works perfectly!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]