extern(Windows) export in std.c.windows.windows
Sergey Gromov
snake.scaly at gmail.com
Sat Feb 16 02:02:49 PST 2008
torhu <no at spam.invalid> wrote:
> It's needed when linking to variables that are in a DLL, though. If you
> don't add it, even variable declarations with the 'extern' storage class
> will turn into definitions.
This explains it, thanks. This also means that export is sometimes also
import because extern is not actually for an extern symbol but merely a
calling convention specifier.
I can live with that. :)
--
SnakE
More information about the Digitalmars-d-learn
mailing list