extern(C) with function returning user type
    Kyoji Klyden via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Jul 29 10:59:23 PDT 2015
    
    
  
How would I use a C function that's returning a struct? auto 
doesn't work here, and from what I can tell D can't import C 
headers. (If it really can't then, that would be a very welcome 
feature)
I do have the required libs but I can't create my D obj file so I 
can't really get there.
I know that there htod but, is there anyway I can avoid using 
that?
I'm using GDC, and GCC on Win7
    
    
More information about the Digitalmars-d-learn
mailing list