extern(C) and slices
    Per Nordlöw via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Tue Sep 12 01:41:36 PDT 2017
    
    
  
On Tuesday, 12 September 2017 at 06:23:57 UTC, Jacob Carlborg 
wrote:
> It looks like the length needs to come first [1]. I think it 
> would be technically possible if you flipped the parameters but 
> you would become dependent on the ABI as well. I would 
> recommend a wrapper instead.
>
> [1] https://dlang.org/spec/abi.html#arrays
Thanks.
    
    
More information about the Digitalmars-d-learn
mailing list