Handling two different functions with the same name in Doxygen

前端 未结 4 1876
梦谈多话
梦谈多话 2021-01-17 18:02

I have a C project which contains two functions with the same name, but each is within a different group/module (@defgroup).

These functions each compil

4条回答
  •  日久生厌
    2021-01-17 18:37

    A solution that works for me in doxygen 1.8.13 is to provide an explicit link with the HTML tag. For example, I have a function QF_run(), which is defined in three different files qv.c, qk.c and qxk.c. Here are three links to these three definitions:

    QF_run()
    QF_run()
    QF_run()
    

    These links are rendered in the HTML output the same way as the automatically generated links. The links are also stable as long as you don't change the name of the function.

    To obtain the hash-value for your function, simply open its documentation in a browser and copy the link after the # sign.

提交回复
热议问题