[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: Foreign objects facility
From: |
Doug Evans |
Subject: |
Re: RFC: Foreign objects facility |
Date: |
Fri, 2 May 2014 21:57:12 -0700 |
On Sun, Apr 27, 2014 at 10:51 AM, Andy Wingo <address@hidden> wrote:
>[...]
>> Portability is more problematic for pointer types. The C standards make
>> no guarantees about the semantics of converting between pointers and
>> integers, and it's not clear to me how future proof this will be.
>
> Don't they make some guarantees wrt uintptr_t and intptr_t ?
Data point: Yes. One can convert from void * to either of these and
back "and the result will compare equal to the original pointer".
- Re: RFC: Foreign objects facility,
Doug Evans <=