#ifdef __cplusplus extern "C" { #endif #ifdef __cplusplus } #endif 来源:https://www.cnblogs.com/hshy/p/12159256.html 标签 extern