parent
9d5448ab45
commit
96bac154bf
12 changed files with 76 additions and 30 deletions
@ -1,2 +1,4 @@ |
||||
usr/bin/app_d?exe |
||||
usr/lib/libstuff.so |
||||
?msvc:usr/bin/stuff.dll |
||||
?msvc:usr/lib/stuff.lib |
||||
?gcc:usr/lib/libstuff.so |
||||
|
@ -1,9 +1,14 @@ |
||||
|
||||
import std.stdio; |
||||
import std.string : format; |
||||
|
||||
int printLibraryString (string str) |
||||
export int printLibraryString (string str) |
||||
{ |
||||
writeln ("Library says: %s".format (str)); |
||||
return 4; |
||||
} |
||||
|
||||
version (Windows) |
||||
{ |
||||
import core.sys.windows.dll; |
||||
mixin SimpleDllMain; |
||||
} |
||||
|
@ -0,0 +1,3 @@ |
||||
module libstuff; |
||||
|
||||
int printLibraryString (string str); |
@ -1,9 +1,17 @@ |
||||
usr/lib/libsome.so |
||||
usr/lib/libsome.so.0 |
||||
usr/lib/libsome.so.1.2.3 |
||||
usr/lib/libnoversion.so |
||||
usr/lib/libonlyversion.so |
||||
usr/lib/libonlyversion.so.1 |
||||
usr/lib/libonlyversion.so.1.4.5 |
||||
usr/lib/libonlysoversion.so |
||||
usr/lib/libonlysoversion.so.5 |
||||
?gcc:usr/lib/libsome.so |
||||
?gcc:usr/lib/libsome.so.0 |
||||
?gcc:usr/lib/libsome.so.1.2.3 |
||||
?gcc:usr/lib/libnoversion.so |
||||
?gcc:usr/lib/libonlyversion.so |
||||
?gcc:usr/lib/libonlyversion.so.1 |
||||
?gcc:usr/lib/libonlyversion.so.1.4.5 |
||||
?gcc:usr/lib/libonlysoversion.so |
||||
?gcc:usr/lib/libonlysoversion.so.5 |
||||
?msvc:usr/bin/noversion.dll |
||||
?msvc:usr/bin/onlysoversion-5.dll |
||||
?msvc:usr/bin/onlyversion-1.dll |
||||
?msvc:usr/bin/some-0.dll |
||||
?msvc:usr/lib/noversion.lib |
||||
?msvc:usr/lib/onlysoversion.lib |
||||
?msvc:usr/lib/onlyversion.lib |
||||
?msvc:usr/lib/some.lib |
||||
|
@ -1,4 +1,6 @@ |
||||
usr/bin/appdc_d?exe |
||||
usr/lib/libstuff.so |
||||
usr/bin/appdc_s?exe |
||||
usr/lib/libstuff.a |
||||
?gcc:usr/lib/libstuff.so |
||||
?msvc:usr/bin/stuff.dll |
||||
?msvc:usr/lib/stuff.lib |
||||
|
@ -1,7 +1,11 @@ |
||||
usr/bin/app_d?exe |
||||
usr/lib/libsay1.so |
||||
usr/lib/libsay1.so.0 |
||||
usr/lib/libsay1.so.1.2.3 |
||||
usr/lib/libsay2.so |
||||
usr/lib/libsay2.so.1 |
||||
usr/lib/libsay2.so.1.2.4 |
||||
?gcc:usr/lib/libsay1.so |
||||
?gcc:usr/lib/libsay1.so.0 |
||||
?gcc:usr/lib/libsay1.so.1.2.3 |
||||
?gcc:usr/lib/libsay2.so |
||||
?gcc:usr/lib/libsay2.so.1 |
||||
?gcc:usr/lib/libsay2.so.1.2.4 |
||||
?msvc:usr/bin/say1-0.dll |
||||
?msvc:usr/bin/say2-1.dll |
||||
?msvc:usr/lib/say1.lib |
||||
?msvc:usr/lib/say2.lib |
||||
|
@ -0,0 +1 @@ |
||||
int sayHello1 (string str); |
@ -0,0 +1 @@ |
||||
int sayHello2 (string str); |
Loading…
Reference in new issue