how to pass a ubyte[] to c interface?

zhmt via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Mar 12 23:35:21 PDT 2015


ubyte[] arr ;

I pass the arr.ptr to c program, it fails silently.

Is there any way to cast a ubyte[] to a clang pointer?


More information about the Digitalmars-d-learn mailing list