GNOME Bugzilla – Bug 316512
add list of ignorable decorators for function declarations to gtkdoc-scan
Last modified: 2006-03-19 18:51:06 UTC
It would be nice to be able to specify a list of additional declarators for function declarations that are ignored by gtkdoc. Example: [cairo.h] cairo_public int cairo_version (void); Right now, gtkdoc gets confused by the cairo_public and produces no useful documentation at all. The attached patch implements such a feature. I freely admit that it's tailored for the current usage in cairo; it does not handle additional declarators between the type and the function, for example.
Created attachment 52323 [details] [review] proposed patch Changelog: 2005-09-16 Bertram Felgenhauer <int-e@gmx.de> * gtkdoc-scan.in (ScanHeader): added ignoring a configurable list of declarators in function declarations
I see the need for a mechanism like this. Patch looks okay too. It will beome a bit messy if there a lot of decorators to ignore (long list). Damon what do you think? Should we commit. Especialy before next release?
committed to cvs. thanks.