You use extern "C"to prevent name manipulation inside the header files and your C ++ object files for libraries or objects that have already been compiled without distortion.
, , widget, C, .
, , , - , .
, - function@intarray_float_charptr, widget function, .
, :
extern "C" {
#include "widget.h"
}
, function, .
, C-, C_or ++, , :
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
C , #ifdef extern "C". ++ ( __cplusplus) .