RE: [Vala] Lacking of a ref-counted string.
- From: Sam Liddicott <sam liddicott com>
- To: Ali Sabil <ali sabil gmail com>, Bastien Nocera <hadess hadess net>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, Vala Mailing list <vala-list gnome org>
- Subject: RE: [Vala] Lacking of a ref-counted string.
- Date: Wed, 20 Aug 2008 22:19:57 +0100
I think it has what you ask for, if a class doesn't inherit from gobject then internally it inherits from gtypeinstance which is what you said.
Sometimes people don't distinguish between the two, though.
However I want compact non-gobject non-gtype instance (I want I want... Never satisifed with what Juerg et al have produced for me...)
Sam
From: Ali Sabil <ali sabil gmail com>Sent: Wednesday, August 20, 2008 9:25 PMTo: Bastien Nocera <hadess hadess net>Cc: gtk-devel-list <gtk-devel-list gnome org>; Vala Mailing list <vala-list gnome org>Subject: Re: [Vala] Lacking of a ref-counted string.On Wed, Aug 20, 2008 at 9:15 PM, Bastien Nocera
<hadess hadess net> wrote:
On Wed, 2008-08-20 at 15:10 -0400, Yu Feng wrote:
> Dear Devs,
>
> Is there any particular reason that GLib doesn't provide a ref-counted
> string and a ref-counted array type? Lacking them in GLib makes the VALA
> language a real pain.
You could just wrap simple GObjects around GString and GPtrArray
Wouldn't that be overkill ? do we need signals and properties for strings and arrays ? maybe GLib/GObject should have something like GstMiniObject that only provides reference counting and no signals/properties ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]