After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 544172 - Fails to parse return value of 'char const *'
Fails to parse return value of 'char const *'
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.10
Other Linux
: Normal normal
: 1.11
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-22 14:25 UTC by Rob Staudinger
Modified: 2008-07-23 19:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rob Staudinger 2008-07-22 14:25:50 UTC
gtk-doc fails to parse the following snippet, albeit it's perfectly legal:

/** 
 * cbd_node_get_id_func:
 * @self: a #cbd_node_t.
 *
 * Hook function to query the ID of a #cbd_node_t.
 *
 * Returns: node ID or %NULL.
 **/
typedef char const * (*cbd_node_get_id_func) (cbd_node_t const *self);

When changing the return value to 'const char *' everything goes smoothly.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-07-23 19:59:54 UTC
2008-07-23  Stefan Kost  <ensonic@users.sf.net>

	* gtkdoc-mkdb.in:
	* gtkdoc-scan.in:
	* tests/bugs/docs/tester-sections.txt:
	* tests/bugs/src/tester.h:
	  Accept "char const *" as well. Fixes #544172.