Hi,
thank you Allen for you quick answer.
I already tried to use the \cond and \endcode but it doesn't remove the
"dummy" code from the documentation (in the inline sources).
Is there any special configuration ? (INTERNAL_DOC is already set to NO).
Thank you for your answer
Maxime
2013/4/15 Allen Winter <win...@kde.org>
> 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