D
D
Dmitry Belyakin2015-10-26 11:43:24
C++ / C#
Dmitry Belyakin, 2015-10-26 11:43:24

[Doxygen] How to force Doxygen to NOT glue the descriptions of a function implemented twice?

Bottom line:
there is a function that is implemented twice, and depending on #ifdef SMTHNG, one or another of its implementations is picked up (the interface is the same for different implementations, the declaration is one common). I need the html documentation generated by Doxygen to define this function as two different ones, but it stubbornly glues everything into one.
In principle, breaking the description and not taking a steam bath is not a problem, but then there will be one link to the Source Browser, where you can see the implementation code.
Is there a solution? The config file rustled all over - I didn’t like anything that could fix the subject.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2015-10-26
@nightvision

Can't imagine how to get doxygen to distinguish between functions with the same signature. The most realistic way, in my opinion, is to collect various versions of the documentation with different macros ( PREDEFINED ) and then read the one you need. The doxygen preprocessor processes files in the same way as the compiler (only it does not support all constructs), so as the program itself is compiled separately with different configurations, so should the documentation. Otherwise, you still need to distinguish between these functions explicitly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question