char[]/ubyte[] compile error
Johan Engelen via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Thu Jul 13 15:03:37 PDT 2017
On Thursday, 13 July 2017 at 13:02:23 UTC, John Colvin wrote:
>>
>> Array
>> {
>> size_t length;
>> char* ptr;
>> }
>>
>> [1] http://dlang.org/spec/abi.html#arrays
>
> I do this for interacting with Cython and it works well for me.
I think such a C-like construct that is equivalent with slices
really should be part of Phobos/druntime somehow. What do you
think John?
More information about the digitalmars-d-ldc
mailing list