Re: [Vala] problem with GNet Connhttpeventresponse
- From: Frederik <scumm_fredo gmx net>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] problem with GNet Connhttpeventresponse
- Date: Thu, 22 Jan 2009 22:59:59 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]