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

Reply via email to