Re: GRegex



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]