究竟什么extern "C"放入C++代码呢?
extern "C"
例如:
extern "C" { void foo(); }
c c++ name-mangling linkage extern-c
c ×1
c++ ×1
extern-c ×1
linkage ×1
name-mangling ×1