Closed elfring closed 6 years ago
Is there a need for use “extern "C"” with typedefs? Functions are already wrapped with it. Test C++ code (with g++) compiled and linked without any warnings.
Can it be nicer to put such an annotation at the top of your C header file (so that more declarations can be safely handled also for C++)?
Some code from C source files should be wrapped by the setting “
extern "C"
” for C++ tools.