Is there any prior art of calling D functions in Perl?
    Christian Walde 
    walde.christian at gmail.com
       
    Tue Nov  5 06:41:26 PST 2013
    
    
  
> to get the ABI right, just use extern(C) on the relevant D 
> functions.
Wow, ok, that was well hidden. I'd strongly suggest that block in 
http://dlang.org/interfaceToC.html get its own heading.
> however, if the perl interface needs to write wrapper functions 
> based on C headers you will have to write a C header containing 
> the relevant function declarations.
Yeah, that was what i suspected, but hoped to avoid by reusing 
someone else's efforts. :)
    
    
More information about the Digitalmars-d
mailing list