Re: [Doxygen-users] Re: Documentation of Fortran code?
Brought to you by:
dimitri
From: John S. <joh...@se...> - 2001-08-20 14:28:55
|
Ole Streicher wrote: > > Hello John! > > Ole Streicher wrote: > >> Is there a possibility to use Doxygen to document FORTRAN code? Or is > >> it easy to extend Doxygen for this language? > > >We have used Doxygen to document FORTRAN code by using an INPUT_FILTER > >to convert the original FORTRAN source to C-style function prototypes. > > Can you send or post me this INPUT_FILTER? > No, sorry I can't. On the other hand, if you do mixed FORTRAN/C programming then you've probably got some handy script somewhere that automatically creates a header file from you FORTRAN source code, haven't you? i.e. if you've got some FORTRAN functions that you call from C, then someone/something/somewhere must have generated an associated C header file to give the FORTRAN functions' prototypes. If so, then you just need to tweak this script to include the Doxygen comments in its output... > BTW, is there also a good way to document FORTRAN callable functions > wrapped by cfortran.h? Dunno - what's cfortran.h?? Cheers, John |