| 1 |
|
| 2 |
import std.stdio; |
| 3 |
import std.string : format; |
| 4 |
|
| 5 |
export int sayHello2 (string str) |
| 6 |
{ |
| 7 |
writeln ("Hello %s from library 2.".format (str)); |
| 8 |
return 8; |
| 9 |
} |
| 10 |
|
| 11 |
version (Windows) |
| 12 |
{ |
| 13 |
import core.sys.windows.dll; |
| 14 |
mixin SimpleDllMain; |
| 15 |
} |