Re: Where's Glib::MatchInfo?



Hello,

On Thu, 09 Dec 2010 15:35:11 -0500
José Alburquerque wrote:

> > I was wondering where's an equivalent of GMatchInfo in glibmm.
> > The docs mention Glib::MatchInfo, but there's no such class.
> 
> The RegEx API just uses the C struct presently because it doesn't use
> the GType system for its registration so it's not easily wrapped by
> gmmproc (it would have to be done manually).  There's a TODO in the .hg
> file for the struct to be wrapped but it's not been done yet.  For now,
> using the C API as is should be fine, unless you really need it in which
> case, if you file a bug, maybe it can get done at some point.

Unfortunately, the glibmm API for Regex is almost unusable without
MatchInfo, and C API (especially the string handling) is a pain for
a C++ developer.

Filed as:
https://bugzilla.gnome.org/show_bug.cgi?id=636911

Thanks,
Alexander


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