I’m using a library which has both a C interface and a C++ interface in my C++ program. The C++ one is a bit immature and I must stick with the C one. I was wondering, in more general terms, is there anything specific to keep in mind when mixing C-style binary object files with a C++ project?
Share
For C functions to be called from C++, they have to be declared as
extern "C". Usually something like this is used in headers: