libgnome goption argument parsing and ABI stability



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;


Regards,
	Christian




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