I\'m trying to implement an external c++ header interface that will be produced as a shared library. Their example interface has c style functionality wrapped in extern \"C\
extern "C"
doesn't keep you from using C++ inside the function. It only affects the way that the function is called (including the name of the function). Since the name is not mangled, and the calling sequence might be different from standard C++ calling sequence, you have to make sure that the function is declared as extern "C"
in any C++ translation unit in which it appears. Also, "C"
names are not namespaced, but you probably knew that.
And as far as I know, Qt is not doing anything to make your code more or less C-friendly.