Guest User

Untitled

a guest
Oct 23rd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. import core.stdc.stdio;
  2.  
  3. extern (C) int dll() {
  4. printf("hello from dll A!\n");
  5. return 0;
  6. }
  7.  
  8. shared static this() {
  9. printf("liba.so shared static this\n");
  10. }
  11.  
  12. shared static ~this() {
  13. printf("liba.so shared static ~this\n");
  14. }
Add Comment
Please, Sign In to add comment