Re: GRegex
- From: Marco Barisione <marco barisione org>
- To: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: GRegex
- Date: Sun, 29 Oct 2006 13:39:19 +0100
Il giorno sab, 28/10/2006 alle 19.35 +0200, Murray Cumming ha scritto:
> If it's possible, it would be nice to avoid making it a GObject just to
> add easy reference counting. That tends to restrict how it can be
> wrapped by language bindings for whom automatic memory management is not
> the default.
It can't be a GObject because GRegex will be in libglib.
> I don't know exactly how it might be done in C (it's easy in C++), but I
> would hope that there's some way to reference-count anything without
> forcing the object itself to do the reference counting.
What do you mean? GRegex handles ref counting as other structures in
GLib.
--
Marco Barisione
http://www.barisione.org/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]