Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\static command not working (Origin: bugzilla #791832) #6298

Closed
doxygen opened this issue Jul 2, 2018 · 3 comments
Closed

\static command not working (Origin: bugzilla #791832) #6298

doxygen opened this issue Jul 2, 2018 · 3 comments
Labels

Comments

@doxygen
Copy link
Owner

doxygen commented Jul 2, 2018

status NEW severity normal in component general for ---
Reported in version unspecified on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2017-12-21 01:18:43 +0000, gnome.ontherange.kitchengoblin74@antichef.net wrote:

Created attachment 365827
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.

On 2017-12-21 22:36:18 +0000, gnome.ontherange.kitchengoblin74@antichef.net wrote:

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.
@albert-github
Copy link
Collaborator

I've just pushed a proposed patch, pull request #8963

@albert-github albert-github added the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Dec 22, 2021
@albert-github
Copy link
Collaborator

Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release).

@doxygen
Copy link
Owner Author

doxygen commented Dec 31, 2021

This issue was previously marked 'fixed but not released',
which means it should be fixed in doxygen version 1.9.3.
Please verify if this is indeed the case. Reopen the
issue if you think it is not fixed and please include any additional information
that you think can be relevant (preferably in the form of a self-contained example).

@doxygen doxygen removed the fixed but not released Bug is fixed in github, but still needs to make its way to an official release label Dec 31, 2021
@doxygen doxygen closed this as completed Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants