What is the difference between a static member function and an extern \"C\" linkage function ? For instance, when using \"makecontext\" in C++, I need to pass a pointer to f
Note, that extern C is the recommended way of C/C++ interoperability. Here is the master talking about it. To add to eduffy's answer: note that static functions and variables in the global namespace are deprecated. Use an anonymous namespace at least.
Back to extern C: if you don't use extern C you will have to know the exact mangled name and use it. That is much more of a pain.