What's the correct way to interface with a intptr_t?
Robert M. Münch
robert.muench at saphirion.com
Sun Apr 7 07:03:12 UTC 2019
On 2019-04-06 20:16:06 +0000, Paul Backus said:
> 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`.
Ha, thanks... RTFM. Will do in the future.
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
More information about the Digitalmars-d-learn
mailing list