Comment 1 for bug 269971

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote : Re: [Bug 269971] [NEW] (ikarus system $foreign) pointers bugs

On Sep 13, 2008, at 3:57 PM, Derick Eddington wrote:

> Offsets are wrong because (((long)ref(p, off_pointer_data)) + unfix
> (off)) is doing integer addition:

The offsets are intended to be in bytes, not in multiples
of the sizeof the char/short/int/long. The pointer is not
assumed to be homogeneous. It might be a struct containing
bytes, shorts, longs, etc.

I'll investigate the other issue later.

Thanks.