static vs extern “C”/”C++”
Yes, you are just lucky 🙂 The extern “C” is one language linkage for the C language that every C++ compiler has to support, beside extern “C++” which is the default. Compilers may supports other language linkages. GCC for example supports extern “Java” which allows interfacing with java code (though that’s quite cumbersome). extern “C” … Read more