/** @brief This is my initial struct. */
typedef struct
{
f32 v; /**< Value. */
int32 s; /**< Scale. */
} f32_t;
#define DECLARE_TYPE(N) \
typedef f32_t q##N##_t; /**< This is my Q struct. */
DECLARE_TYPE(31)
DECLARE_TYPE(25)
The above code declares a q31_t
and q25_t
structs.
I'd like to document them using Doxygen, but whatever I tried, the structs don't appear in the documentation. They are not even mentioned. Initial struct f32_t
is the only one that is documented.
Can this be fixed?