Hello All!

I want to use a separated comment for my union which includes 2 structs and a 
normal element, but I don't get it working. I know there is the possibility to 
do the comments behind the elements but I prefer to have it separated (before) 
the union. Can you help me with this please? Thanks.
My code consists of C and C++ and I am using doxygen version 1.8.16 on Windows.

Code example:
/**
* @union myUnion
* @brief this is my union
* @var myUnion::alone
* @brief this element is alone
* @struct myUnion::level1
* @brief struct level one
* @var myUnion::level1::first
* @brief first element of first struct in union
...
*/
typedef union {
  uint8_t alone;
  struct {
    bool first;
    bool second;
  } level1;
  struct {
    uint8_t third;
    uint8_t forth;
  } level2;
} myUnion;

Mit freundlichen Grüßen / Best regards

Christian Weiss
AE-EB/END4

Tel. +49 7121 35-34028

_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to