Re: [Doxygen-users] Two strange things about Doxygen and my code
Brought to you by:
dimitri
From: Bostjan M. <cco...@gm...> - 2015-08-31 12:13:33
|
On Sun, Aug 30, 2015 at 12:54 AM, Christoph Lipka <chr...@li...> wrote: > Am 26.08.2015 um 15:16 schrieb Bostjan Mihoric: > > On Wed, Aug 26, 2015 at 2:41 PM, Christoph Lipka > <chr...@li...> wrote: > > Am 26.08.2015 um 11:14 schrieb Bostjan Mihoric: > > On Tue, Aug 25, 2015 at 7:14 PM, Christoph Lipka > <chr...@li...> wrote: > > Am 25.08.2015 um 18:36 schrieb Bostjan Mihoric: > [...] > > /// @file > > /// My typedef. > typedef void VOID; > > /// My simple function. Details. > extern VOID Function(VOID); > [...] > > [...] > > Yes, I agree that anything but "void" should be considered a different > type. What I meant is, why doesn't it work when I try to use Doxygen's > preprocessor to redefine "VOID" back to "void". Surely it doesn't > preprocess *after* deciding if function has a return value / > parameters? If it's preprocessor replaced "VOID" with "void", why > doesn't it then see it as "void"? > > > Did you set "MACRO_EXPANSION = YES"? The default value of "No" causes > Doxygen's preprocessor to only do conditional compilation. > Yes, resolved by this. Thank you! |