1 #ifdef __cplusplus 2 extern "C" { 3 #endif 4 5 int add_c(int a, int b); 6 int add_cpp(int a, int b); 7 8 #ifdef __cplusplus 9 } 10 #endif 11