Can't Link DWT in Linux 64-bit
Jacob Carlborg via Digitalmars-d-dwt
digitalmars-d-dwt at puremagic.com
Sun Jul 20 06:47:44 PDT 2014
On 2014-07-20 02:46, Mike wrote:
> What do you mean by "native type"? I thought the only native types in D
> were `size_t` and `ptrdiff_t`. What's the actual syntax you use in the
> OSX port?
External C functions that take pointers are declared to take int/long in
the Java code. I would prefer that the original type is used.
> If you're looking for alternative names for `size_t` and `ptrdiff_t` how
> about:
>
> alias native_int = ptrdiff_t;
> alias native_uint = size_t;
Hmm, I don't know. Perhaps ptrdiff_t is good enough.
--
/Jacob Carlborg
More information about the Digitalmars-d-dwt
mailing list