What's the correct way to interface with a intptr_t?
bauss
jj_1337 at live.dk
Sun Apr 7 12:19:10 UTC 2019
On Saturday, 6 April 2019 at 20:16:06 UTC, Paul Backus wrote:
> On Saturday, 6 April 2019 at 19:31:15 UTC, Robert M. Münch
> wrote:
>> I have a C interface that uses a parameter of type intptr_t.
>> Wondering if size_t is the correct D equivalent?
>
> The correct equivalent is `intptr_t` from `core.stdc.stdint`.
Which is just an alias for ptrdiff_t.
More information about the Digitalmars-d-learn
mailing list