Hello,
so what are my / our best options to create an automatic C foreign function interface.

I would like to create such interface / header file from a D module with public functions, structs which are declared with extern(C)

D code

module leo

extern(C) void test() { }

Expectation:

// header file
void leo_test(void);

  • Easy way for FFI Maximilian Naderer via Digitalmars-d-learn
    • Re: Easy wa... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Eas... Maximilian Naderer via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to