C++ functions are by default overloaded, and the compiler assigns a new name to each function.
If you wish to override the compiler's assigning a new name by declaring the function extern "C", you can do this for only one of a set of functions with the same name.
(Otherwise the linker would find more than one global function with the same name.)
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|