RE: [Doxygen-users] Documenting from inside a function
Brought to you by:
dimitri
From: Scot W. <sc...@wi...> - 2002-02-09 21:39:22
|
> A way to do what you desire is with the @fn command followed by the > exact prototype. Where you are using it in your example now, it isn't > needed. That command block is already associated with foo. You mean I can just put @fn ahead of the actual declaration and it will be picked up? Great, I hate having two copies of the same text. Anyone know if I can put @mainpage in the middle of another comment block to have some stuff be duplicated to the main page (as well as its usual place)? I couldn't find an incantation which behaved that way. > However, from within foo to get the comment block associated > properly, you can use the @fn. Use it how? Repeat "@fn functionname" in each comment block related to the function? Something like sound nice...I didn't distill that from the Doxygen dox. |