GNOME Bugzilla – Bug 544172
Fails to parse return value of 'char const *'
Last modified: 2008-07-23 19:59:54 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.
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.