[Doxygen-users] Fortran: TYPE, BIND(C)
Brought to you by:
dimitri
From: Daniel F. <fra...@gm...> - 2010-10-17 21:50:07
|
Hi Dimitri, as of r745, doxygen does not recognise Fortran TYPEs declared with language bindings, e.g. !> !> @brief Documentation of TYPE(t). !> TYPE, BIND(C) :: t !> @brief foo INTEGER(C_INT) :: i !> @brief bar REAL(C_DOUBLE) :: d END TYPE The TYPE defintion is ignored and the components 'i' and 'd' are assumed to be in the parent namespace. Attached patch doesn't do much, but adds recognition of ", BIND(C)" to TYPEs. It fixes my immediate problem. If somebody wants to pick this up to do more than ignore the language bindings, be my guest. Otherwise I'd appreciate it if the patch could be considered for inclusion in the next release. Thanks Daniel |