You might consider the @cond command.

For example
//@cond DUMMY
<code goes here>
//@endcond

so unless you define DUMMY to Doxygen, that code block will be ignored.

On Monday 15 April 2013 10:35:00 PM Maxime Thiébaut wrote:
> hi,
> 
> i would like to ignore some code fragment in inline sources (option
> INLINE_SOURCE = TRUE), but i don't know how to do that.
> 
> here is some example, where i don't want to include the "dummy" code in the
> documentation :
> 
> int func1(int a, int b)
> {
> 
> /** brief description
> 
> * detailed description
> 
> * parameters description (in / out)
> 
> */
> 
> 
> /* code */
> 
> int x = a+b;
> 
> 
> /* dummy code not to to include in inline sources */
> 
> printf("debug: %d", x);
> 
> 
> return(x);
> 
> }
> 
> 
> Thank you in advance for your help !!
> 
> Maxime

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to