Is there a way that I can use a macro to create:
    
    
    procedure p1 (a: integer); cdecl; external 'libx'; name 'p1';

from a nim file named 'libx.nim' that contains:
    
    
    proc p1(a: int) =
        ...

I want the pascal interface to be written to a separate file. The nim file is a 
library that is linked to a pascal program.

Thanks, Mark

Reply via email to