中级会员
 
- 积分
- 213
- 金钱
- 213
- 注册时间
- 2021-5-30
- 在线时间
- 34 小时
|
10金钱
比如这样一个函数,使用go to define 时 提示undefine,而且你们也能看见,并没有报错。
于是我进行了全局搜索。只是搜索到这些内容。
ai_error ai_platform_network_get_error(ai_handle network);
ai_platform_network_get_error(network);
第一句是进行了定义,其中error的内容如下:
typedef struct ai_error_ {
ai_u32 type : 8; /*!< Error type represented by @Ref ai_error_type */
ai_u32 code : 24; /*!< Error code represented by @ref ai_error_code */
} ai_error;
所以ai_platform_network_get_error这个是函数吗?是函数的话,他又怎么去处理自己的内容呢?
|
|