c - Same line documentation of typedefs with Doxygen -
i have c header file lot of typedef's , #defines. able doxygen accept comments on same line, this:
typedef uint32_t u_num_logpltntry; //!< number of u_logpltentry typedef uint32_t u_num_rectl; //!< number of u_rectl and this:
#define u_srccopy 0xcc0020 //!< info srccopy #define u_srcpaint 0xee0086 //!< info srcpaint however, neither of these forms work. typedef comment applied following line. #defines comment vanishes ether. if //! line precedes #define comment associated following #define. really not want have offset comments 1 line!
is there doxygen syntax this? using doxygen 1.8.1.1 running on windows.
this works me. guess problem being caused above snippet showing us. if there's doxygen comment block above typedef, doxygen associating typdef instead of inline comment. take @ surrounding doxygen comments , make sure nothing going on.
you can try placing typedefs in header , see if doxygen processes them correctly. if so, problem in file above affected typedefs.
also, doxygen producing useful output on command-line? if not, try setting following in .doxyfile:
quiet=nowarnings=yeswarn_if_doc_error=yes
Comments
Post a Comment