exern (C) linkage problem

bearophile bearophileHUGS at lycos.com
Sun Jul 18 13:56:17 PDT 2010


Charles Hixson:
> extern (C)   void   dbdefine (char[] inStr, ref char[255] outStr);

I think C and D char[] don't go well together. D arrays are 2-word long structs. Try again with something simpler, like a pointer and length.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list