DIP61: redone to do extern(C++,N) syntax
via Digitalmars-d
digitalmars-d at puremagic.com
Mon Apr 28 07:00:56 PDT 2014
On Monday, 28 April 2014 at 13:47:43 UTC, Steven Schveighoffer
wrote:
> Not ok. This is like having 2 definitions for the same
> function, linker will not accept that.
No. It is like having 2 matching type declarations. The
implementation is defined in the C++ source code and is
represented as one C++ object/lib file to the linker. The linker
will happily accept that.
More information about the Digitalmars-d
mailing list