Inline documentation of last function parameter

Vaclav Petras <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <CABo5uVsXifY-VqBTJ-A9ZR2R-U-DX=t5pMAvu0fhi2MDjuBovg@mail.gmail.com>
Hello,

I'm using inline descriptions for function parameters/arguments but the
last parameter description goes to the function's description (to the right
function, to the end of description).

int a_function(
    int arg_1,       ///< first argument
    int arg_2);        ///< second argument

I see that the issue is that the the comment is after ); so the function
"parameter section" ended and when I use:

int a_function(
    int arg_1,       ///< first argument
    int arg_2        ///< second argument
    );

it works as expected, same for @param.

Is there a way how to use the coding style with ); on the same line as last
function parameter and at the same time use also the inline parameter
descriptions with Doxygen?

I'm using Doxygen 1.8.9.1 (with C code).

Thanks,
Vaclav

------------------------------------------------------------------------------

_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.