Re: GRegex



On Tue, 2006-10-24 at 22:53 +0200, Marco Barisione wrote:
> GtkSourceView needs only to have regexes ref counted.

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.

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.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]