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 791832 - \static command not working
\static command not working
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: general
unspecified
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
[moved_to_github]
Depends on:
Blocks:
 
 
Reported: 2017-12-21 01:18 UTC by gnome.ontherange.kitchengoblin74
Modified: 2018-07-30 10:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Doxyfile that was used to process the source. (105.90 KB, text/plain)
2017-12-21 01:18 UTC, gnome.ontherange.kitchengoblin74
Details

Description gnome.ontherange.kitchengoblin74 2017-12-21 01:18:43 UTC
Created attachment 365827 [details]
Doxyfile that was used to process the source.

The @static command is not handled correctly in the following code:

struct _carData
{
  float mass;
};

/*! @class Car*/
typedef struct _carData *Car;

/*! @memberof Car*/
static *Car _carRegistry;
/*! @memberof Car*/
static size_t _carRegistrySize;

/*! @memberof Car*/
float CarGetMass(Car car);

/*! @static @memberof Car*/
void CarInitRegistry();

The expectation is that CarInitRegistry will appear in the documentation for the Car class as a static member function. It does appear in the documentation, but not as a static.
Comment 1 gnome.ontherange.kitchengoblin74 2017-12-21 22:36:18 UTC
Actually, not even this simple case works:

struct Peas
{
};

/*! @memberof Peas @static*/
void tada();

Same results. tada is listed as a member of Peas, but not as a static one.
Comment 2 André Klapper 2018-07-30 10:55:05 UTC
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to 

   https://github.com/doxygen/doxygen/issues

All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github.

Hence I am closing this GNOME Bugzilla ticket.
Please use the corresponding ticket in Github instead. Thanks a lot!