Reputation: 2044
Im using doxygen 1.8.6 on trusty. The problem is that it shows no content at all except for structs. No functions or variables. It also includes Classes tab in the html output which is for cpp. How can i tell doxygen to interpret my code as C code?
Upvotes: 2
Views: 885
Reputation: 14879
There is nothing special needed to make doxygen parse C code. You can optimize the output for C though by setting OPTIMIZE_OUTPUT_FOR_C
to YES
in the config file.
For documentation to be picked up by doxygen, you need to use one of the special comment styles: /** ..*/
or /*! ... */
.
Upvotes: 1