January 20, 2013 Re: How to use a function without their sources | ||||
|---|---|---|---|---|
| ||||
On 1/20/13, Jordi Sayol <g.sayol@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.
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply