use C++ extern for MSVC