libxo
libxo copied to clipboard
libxo/*.h fix libxo header include when the source is C++
C++ needs extern C to disable C++ name mangling. To use libxo in C++ it is better to include extern "C" guardian
Could you explain why you are wanting the C++ magic on files like xo_private.h and xo_explicit.h? These are internal/private files and should never be included by external c++ files.
Thanks, Phil
Sorry for misuse extern "C" in code, I just try modifying all header until my code successfully compiled. Fix it right now!