size_t + ptrdiff_t

Stewart Gordon smjg_1998 at
Mon Feb 20 04:32:48 PST 2012

On 20/02/2012 03:44, Artur Skawina wrote:
>> Why would you want to do that, as opposed to use one of the pointer types (which is
>> indeed required for GC to work correctly)?
> That's how it can be used in *C*.
> And the reason it needs to be exposed to D code is for interoperability with C.

IINM, C calling conventions care only about the size of a type, not the name or intrinsic 
nature of it.  Therefore this is a non-issue.


More information about the Digitalmars-d mailing list