我在C头文件中有以下代码:
/** \brief Forward declaration for instance object. */
typedef struct CbData_t CbData;
/**
* \brief Callback function prototype.
*
* \param cbData [OUT] Callback Data. Refer #CbData
* \return None.
*/
typedef void (*cbFxn)(CbData cbData);
/**
* \brief Structure containing callback data.
*/
struct CbData_t
{
uint32_t id;
/**< Id for which interrupt has occurred */
};
当我尝试创建doxygen(1.8.13版)时,出现以下错误:
warning: explicit link request to 'CbData' could not be resolved
如何解决此错误?