Re: gtkdoc, Bonobo, and struct parsing



Hi John,

On Sat, 17 Feb 2001, John R. Sheets wrote:
>   typedef struct _BonoboEmbeddableClass   BonoboEmbeddableClass;

	Miguel does not like this style where it is not needed,

> However, quite a few header files in Bonobo aren't using this format,
> e.g., bonobo-selector.h:
> 
>   typedef struct {
>           GnomeDialogClass parent_class;
> 
>           void (* ok)     (BonoboSelector *sel);
>           void (* cancel) (BonoboSelector *sel);
>   } BonoboSelectorClass;

	Apparently Miguel fixed gtk-doc to detect this type of class
declaration correctly - apparently, and thus removed some of the redundant
forward definitions.

> I'd be happy to whip up a patch to "fix" the Bonobo header files to
> use the more common style.

	Thanks for the offer, not a good plan until further notice though.

	Regards,

		Michael.

-- 
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot





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