mirror of https://github.com/ARMmbed/mbed-os.git
wifi-headerfile-updates
1, add "extern "C" {} " to "wifi_ind.h" for being called by CPP files.pull/8750/head
parent
1ac4d9b430
commit
c97d343470
|
@ -32,6 +32,10 @@
|
||||||
|
|
||||||
#include "wifi_conf.h"
|
#include "wifi_conf.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef void (*rtw_event_handler_t)(char *buf, int buf_len, int flags, void* handler_user_data );
|
typedef void (*rtw_event_handler_t)(char *buf, int buf_len, int flags, void* handler_user_data );
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
|
@ -90,6 +94,10 @@ extern void wifi_reg_event_handler(unsigned int event_cmds, rtw_event_handler_t
|
||||||
*/
|
*/
|
||||||
extern void wifi_unreg_event_handler(unsigned int event_cmds, rtw_event_handler_t handler_func);
|
extern void wifi_unreg_event_handler(unsigned int event_cmds, rtw_event_handler_t handler_func);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*\@}*/
|
/*\@}*/
|
||||||
|
|
||||||
#endif //_WIFI_INDICATE_H
|
#endif //_WIFI_INDICATE_H
|
||||||
|
|
Loading…
Reference in New Issue