I have to document two separate functions which, due to a typedef, seem to be interpreted as the same function, so the docs for both are combined.
Here's a very simplified example:
typedef int group;
typedef enum { INDIVIDUAL = 0, GROUP = 1, } type_to_process;
/**************************************************************************//**
*
* @brief Individual function.
*
* @param[in] type type to process
* @param[in] p_int individual number to process
*
*****************************************************************************/
void function(type_to_process type, int *p_int);
/****************************************************************************//**
*
* @brief Group function.
*
* @param[in] type type to process
* @param[in] p_group group number to process
*
*****************************************************************************/
void function(type_to_process type, group *p_group);
As group is typedef'ed to an int, doxygen sees the two functions as identical.
Is there any way to have doxygen document them as separate functions?
Thanks.