-
Guy Zana authored
1. it is much cleaner that the header files perform extern "C" themselves, so they can be included both from C and C++ code. 2. when doing extern "C" from a C++ file then __cplusplus is also defined, and compilation can break in some situations. 3. as a bonus, this patch increase compilation time.
Guy Zana authored1. it is much cleaner that the header files perform extern "C" themselves, so they can be included both from C and C++ code. 2. when doing extern "C" from a C++ file then __cplusplus is also defined, and compilation can break in some situations. 3. as a bonus, this patch increase compilation time.