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 602518 - Doesn't support "long int" return type
Doesn't support "long int" return type
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.12
Other Linux
: Normal normal
: 1.12
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-20 18:15 UTC by Colomban Wendling
Modified: 2009-11-25 08:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colomban Wendling 2009-11-20 18:15:57 UTC
I have changed the return type of a function from `int` to `long int`, and it no longer appears in the docs, and is now in the undeclared.txt file.
If I set the return type to `long` (without `int`), the function appears again.
Same for `long int*`.

Seen both using GtkDoc 1.11 from Debian and 1.12 from Git (at latest revision as of now).
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2009-11-24 15:34:01 UTC
I added a test case for it. Another parser bug.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2009-11-25 08:49:43 UTC
commit 2c5cdf51ac727e189d9a7cc909db8b1f4551f39d
Author: Stefan Kost <ensonic@users.sf.net>
Date:   Wed Nov 25 10:47:13 2009 +0200

    parsing: support return value types like "long int". Fixes #602518
    
    Fix the regexps to handle such constructs. Also add a few tests that cover the
    reported case and similar ones.