JNI中cpp调用c文件

来源:互联网 发布:unity3d声音不会衰减 编辑:程序博客网 时间:2024/06/05 18:35

在对应的头文件中包含如下即可:

extern "C" 

{

#include "ifaddrs.h" 

}

0 0
原创粉丝点击