GNOME Bugzilla – Bug 65997
Problems with @returns:
Last modified: 2004-12-22 21:47:04 UTC
/** * pango_fontset_simple_size: * @fontset: a #PangoFontsetSimple. * @returns: the size of @fontset. * * Returns the number of fonts in the fontset. **/ doesn't work as expected, since gtk-doc scans the description for "Returns" lines regardless of the @returns: parameter and thus wrongly thinks that there is no description (ie the symbol counts as undocumented). Btw. @returns works only by accident: the function emitting the docbook markup expects the return value to be the parameter
Oops, lynx cut my bug...here is the rest: named "Returns" and the @returns: parameter gets initally stored under "returns". Only when the template docs are merged in, the parameter names are compared case-insensitively and the template parameter names are kept. Thankfully, the templates generally contain @Returns: for the return value.
Yeah I'm constantly having to rephrase docs to work around this. ;-)
*** Bug 69660 has been marked as a duplicate of this bug. ***
Reassigning all open gtk-doc bugs to gtk-doc-maint