I'm having a problem with this code. LITTLE is not defined, and yet Doxygen is 
picking up the code between it as if it is. Specifically, it is adding rand() 
to the call graph, which I don't want.
I have tried using @cond @endcond, and I've tried #ifndef 
DOXYGEN_SHOULD_SKIP_THIS, then predefined DOXYGEN_SHOULD_SKIP_THIS, and nothing 
has worked.
Is there a way to do this, short of having to comment out the offending code?

Foo()
{
  if ((table_pointer->table_type_1 & RANDOM_MASK) != 0) // random table
        {
     Do_something();
#ifdef LITTLE
        f_index = rand();
        f_index = (f_index % (table_pointer ->maximum_pulses_value + 1) + 1); //
        control_arrays.number_of_pulses = f_index;
        desired_number_of_pulses = control_arrays.number_of_pulses;
#endif

        }
}

[cid:image001.png@01D6B75C.F24BB390]
William Shipes
Computer Engineer
Engineering | Avazzia, Inc.

[cid:image002.png@01D6B75C.F24BB390]
(214) 676-7563<tel:(214)%20676-7563>
[cid:image003.png@01D6B75C.F24BB390]
will...@avazzia.com<mailto:will...@avazzia.com>
[cid:image004.png@01D6B75C.F24BB390]
13140 Coit Road, Suite 515, Dallas, TX 75240



_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to