Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Doxygen autolink not working to global enum types

Tags:

doxygen

I am trying to use Doxygen Automatic link generation to document some enum types. However, it is not generating links for the global enum types. It does generates links for the global struct types. Is there something I am missing? I am using the example provided on the link above. As required, I have documented the file in which the types are defined.

update1: I am using Doxygen version 1.6.3

update2: global structs are ok

like image 691
dubnde Avatar asked Dec 04 '25 15:12

dubnde


1 Answers

Yeah, I had that same issue; i think doxygen thinks they are private or something stupid like that. Try using the \public. Don't forget to do the /*! on the first line

/*! \public
 * Enum description goes here
 */
typedef enum {

    /**
     * Printer control language ZPL
     */
    PRINTER_LANGUAGE_ZPL,

    /**
     * Printer control language CPCL
     */
    PRINTER_LANGUAGE_CPCL

} PrinterLanguage;
like image 110
Ovi Tisler Avatar answered Dec 09 '25 15:12

Ovi Tisler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!