Re: libgnome goption argument parsing and ABI stability



Le dimanche 15 janvier 2006 �0:35 +0100, Christian Persch a �it :
> Hi,
> 
> libgnome's gnome_program_init now supports GOption argument parsing. The
> gnome modules supply their GOptionGroup*'s via a hook func in the
> GnomeModuleInfo struct. The question in
> http://bugzilla.gnome.org/show_bug.cgi?id=326846 is now whether we can
> ABI-compatibly use a function pointer of type
> 
> typedef GOptionGroup* (*GnomeModuleGetGOptionGroupFunc) (void)
> 
> in the GnomeModuleInfo structure instead of gpointer
> (libgnome/libgnome/gnome-program.h):
> 
> -    gpointer    expansion1;
> +    GnomeModuleGetGOptionGroupFunc get_goption_group_func;

So, we need to look at this *now*. It looks okay to me, but I might be
wrong.

Christian added the patches to the bug. Can someone look at them in the
next few hours and commit them if it's okay?

Vincent

-- 
Les gens heureux ne sont pas press�




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