3 ms·
Extern "C" around the prototypes is mandatory, otherwise your linker will search for C++ symbols, which cannot be found in the C libraries you pass it.
by nuancebydefault 2y ago
Extern "C" around the prototypes is mandatory, otherwise your linker will search for C++ symbols, which cannot be found in the C libraries you pass it.
- accelbred 2y agoNot only prototypes but typedefs with function pointers as well.