On 28/06/2020 4:59 PM, Kirill wrote:
module something;
extern(C)
int add(int a, int b);




Compile as static library some.c, add to command line of dmd.

Should be this simple more or less, depending on compilers and target involved.

Reply via email to