我们在做驱动开发的时候一般会在c文件里面添加这个
#ifdef __cplusplus
extern "C"{
#endif
...............
#ifdef __cplusplus
}
#endif
用来支持c++
我们在做驱动开发的时候一般会在c文件里面添加这个
#ifdef __cplusplus
extern "C"{
#endif
...............
#ifdef __cplusplus
}
#endif
用来支持c++