c question

what is the meaning of this;
#if _cplusplus
extern "C" {
#endif

if compiling with a C++ compiler, then declare everything inside the extern "C" block as C functions (ie, causes the C++ compiler to not mangle references to the names).
Topic archived. No new replies allowed.