How to use a function without their sources

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Jan 20 07:52:35 PST 2013


On 1/20/13, Jordi Sayol <g.sayol at yahoo.es> wrote:
> Thank you for your answer.
> What's the sense for extern(D)? and in which case is useful.

extern(D) is the default linkage for all functions. D has its own
linkage by default. The reason why is probably to allow the compiler
to optimize the way the functions are called without breaking
compatibility with C.


More information about the Digitalmars-d-learn mailing list