简体   繁体   中英

How can I document a Fortran enum with doxygen

I am trying to document a Fortran enum with doxygen with no success for now, google did not help. Bellow is an example of Fortran enum:

enum, bind(c)
  enumerator :: OPTION1
  enumerator :: OPTION2
end enum

I tried inline comment for option and a block option in front of the enum but no luck. Is it possible to have a nice documentation like one will have with C/C++ enum?

Fortran尚不支持关键字enum。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM