Hi
I have a project written in C and I'm documenting it with
doxygen 1.8.8 (Windows). Seems to work fine except for
a detail I can't resolve. For some variables that are in both
.c and .h files I get two documentation entries:
.h:
/*! \brief Pointer to SomeType (H-file). */
extern SomeType* const g_pPointer;
.c:
/*! \brief Pointer to SomeType (C-file). */
SomeType* const g_pPointer = ((SomeType*) 0x12345678);
This then gives me two entries in the documentation,
both pointing to the same place:
SomeType* const g_pPointer = ((SomeType*) 0x12345678)
Pointer to SomeType (C-file).
Pointer to SomeType (H-file).
Definition at line 78 of file SomeType.c.
SomeType* const g_pPointer
Pointer to SomeType (H-file).
Pointer to SomeType (H-file).
Definition at line 78 of file SomeType.c.
Changing or moving the doxy comment didn't change the
outcome. Why does doxygen generate two entries when
it knows that they are the same and can combine the
comments in the first case?
Thanks
bye Fabi
|