How to map function pointer argument of a function in a subsubsection of Doxygen?

43 Views Asked by At

I have a C function that takes pointer to a function as on of the argument.

 /**
 * @brief Description of your function.
 * @param a arg1 pointer.
 * @param func Description of the function pointer argument.
 * @param c arg2 pointer.
 */

 int MyFunc(int *a, Std_ReturnType (*func)(int* b), int* c);

I want to write documentation using doxygen. In doxygen, I want to map this function using \subsubsection from a new page like below

\section mysection Page1 

\subsubsection MyFuncsubsec MyFunc(int* a, Std_ReturnType (*func)(int* b), int* c)
int MyFunc(int *a, Std_ReturnType (*func)(int* b), int* c)

I want to point this function name in the doxygen.

Example:

If Myfunction_Test is a function, then I want to point like this using below code.

\subsection Myfunctiontest Myfunction_Test(const uint16 a)
Myfunction_Test(const uint16 a)

When I click that function link, it will jump to function definition in the doxygen. It is working as expected.

enter image description here

But in my case, One the argument is a function pointer. After generating doxygen, I can see like below. There is no corresponding link is generating due to function pointer.

enter image description here

How can I map correctly this function using \subsubsection in doxygen?

0

There are 0 best solutions below