Discussion Thread: DIP 1028--Make @safe the Default--Final Review
Walter Bright
newshound2 at digitalmars.com
Fri Apr 3 20:22:46 UTC 2020
On 3/26/2020 9:02 AM, Atila Neves wrote:
> extern(C) doesn't necessarily mean the code is written in C and can't be
> verified by the compiler. It might just be written in D (or C++, or Rust,
> or...).
That's right. It means "use a C function call interface". For example, one might
be writing a function meant to be called from C code.
More information about the Digitalmars-d
mailing list