Re: [Vala] CCode array length field name
- From: Jan-Jaap van der Geer <jjvdgeer inbox com>
- To: vala-list gnome org
- Subject: Re: [Vala] CCode array length field name
- Date: Tue, 01 Dec 2009 19:03:41 +0100
On Tue, 2009-12-01 at 08:21 +0100, pHilipp Zabel wrote:
On Tue, Dec 1, 2009 at 12:59 AM, Jan-Jaap van der Geer
<jjvdgeer inbox com> wrote:
On Mon, 2009-11-30 at 15:09 -0800, Evan Nemerson wrote:
On Mon, 2009-11-30 at 23:45 +0100, pHilipp Zabel wrote:
If errmess is null-terminated and utf-8 encoded, you could wrap it as
a weak string.
Why weak?
Because otherwise vala will try to call error_destroy () to have it
free the errmess string:
[snip vala & generated c-code]
Yes, I understand that it should not call error_destroy(), but my
solution was to make it unowned, while you suggested making it weak. I
would not be surprised if both work, I know unowned works. But what is
preferred in this case?
Cheers,
Jan-Jaap
____________________________________________________________
Receive Notifications of Incoming Messages
Easily monitor multiple email accounts & access them with a click.
Visit http://www.inbox.com/notifier and check it out!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]