Convert C array pointer to a D slice without data copy
ParticlePeter via Digitalmars-d-learn Mon, 18 May 2015 10:12:54 -0700
I get the point to an array from a c function, the data size from
another function. The data should be only readable at the D side,
but I would like to use it as a D slice without copying the data.
Is this possible ?
- Convert C array pointer to a D slice... ParticlePeter via Digitalmars-d-learn
- Re: Convert C array pointer to ... ParticlePeter via Digitalmars-d-learn
- Re: Convert C array pointer to ... John Colvin via Digitalmars-d-learn
- Re: Convert C array pointer... Marco Leise via Digitalmars-d-learn