Re: gtkdoc, Bonobo, and struct parsing



> It looks like the way that gtkdoc-scan parses struct definitions is
> allowing a number of structs to fall through the cracks, so to speak.
> For example, the familiar declaration style, like in
> bonobo-embeddable.h, work fine:

I did have a patch to gtk-doc that fixed this for my build.  I send
this to Damon, but I am not sure this got into the CVS

I remember not following up with him on a question he made, because I
was clueless about it.

> So, would it be better to fix this in gtkdoc-scan, or should we just
> tweak the Bonobo header files to match the style in the rest of Bonobo
> (not to mention GNOME & GTK+)?  Not sure how clean the fix to
> gtkdoc-scan would be, since the actual struct name isn't on the same
> text line as the 'typedef' (have to maintain state info between
> successive lines when you hit one of these structs...?).

We should fix gtk-doc, not the source code.  

Best wishes,
Miguel.




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