GNOME Bugzilla – Bug 477532
function variables
Last modified: 2007-09-22 19:55:55 UTC
GLib has a GLIB_VAR guint64 (*g_thread_gettime) (void); declaration in a public header, which really confuses gtk-doc: ###Can't parse args for function guint64: *g_thread_gettime) (void
If I understood right we could just replace this by 'extern'?
How should this appear in the docs? a) /* * (*g_thread_gettime): * ... */ guint64 (*g_thread_gettime) (void); b) /* * g_thread_gettime: * ... */ guint64 g_thread_gettime (void); I've checked in a fix that makes them appear as in version b). You should also add SCAN_OPTIONS=--ignore-decorators="GLIB_VAR" to you Makefile.am 2007-09-18 Stefan Kost <ensonic@users.sf.net> * gtkdoc-scan.in: Handle function pointers. Fixes #477532.
Thanks. For my purposes, it is enough it gtk-doc doesn't fall over while parsing such constructs. The variable is not going to appear in the docs anyway.