[Doxygen-users] including headerfiles inside extern "C"
Brought to you by:
dimitri
From: Tommy S. P. <TS...@ma...> - 2002-01-04 09:41:39
|
Hi, I'm currently working on a project implemented in C++ and having C interface functions declared in separate h-files. The header files are included inside extern "C" blocks, and this results in multiple define documentation blocks in the doxygen documentation for the h-file. The three files file.h, fileA.cpp and fileB.cpp documented using a standard doxygen config file (although EXTRACT_ALL=YES) yields the peculiar result of three blocks documenting the define of the headerfile - I expected only one, as is the result when the #include's are not embedded inside an extern "C" block. Does anyone have an idea of what to do ? file.h: /// MEDEF doc #define MYDEF 1 fileA.cpp extern "C" { #include "file.h" } void fA() {} fileB.cpp extern "C" { #include "file.h" } void fB() {} - thanks >Tommy Poulsen |