extern (c)

Paul phshaffer at gmail.com
Wed Oct 11 12:36:58 UTC 2023


What does the extern (c) attribute(?) do?
Does it tell the compiler/linker to build the function like a C 
compiler would build a C function? If so what does that mean?
Does it tell the compiler/linker to let C functions know it 
exists? If so what does that mean?
Is it meant for the compiler or linker or both?

Thanks for any assistance.


More information about the Digitalmars-d-learn mailing list