1 2 3 4 5 6 7 8 9
extern(C) int add(int a, int b) { return a + b; } extern(C) int sub(int a, int b) { return a - b; }