Debian Codegraph @

vendored-meson/meson/test cases/d/3 shared library/libstuff.d

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