C binding with D function
    llaine via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Aug  3 08:13:24 PDT 2016
    
    
  
On Wednesday, 3 August 2016 at 15:08:51 UTC, llaine wrote:
> On Wednesday, 3 August 2016 at 14:58:04 UTC, bachmeier wrote:
On Wednesday, 3 August 2016 at 15:08:51 UTC, llaine wrote:
by switching my file to just this
extern(C)
{
   char* foo(char* str)
   {
     return str;
   }
}
It works.
But it's really ... simple ahah I was expecting to have more 
advanced use.
    
    
More information about the Digitalmars-d-learn
mailing list