chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] long pointer equivalent


From: felix
Subject: Re: [Chicken-users] long pointer equivalent
Date: Sat, 17 Aug 2002 22:43:38 +0200

Benedikt Rosenau wrote:
> 
> On Fri, Aug 16, 2002 at 10:00:07PM -0500, Peter Keller wrote:
> 
> > Why isn't there a C type for long* and unsigned long*? Zlib has a lot
> > of functions that desire that type. And I KNOW on say linux / ia64 long
> > is 8 bytes, but int is 4 bytes so it makes a difference.
> 
> Assuming any type size for integer or pointers is mined territory
> anyway.

Well spoken. If I understand Pete's question correctly, he means
something corresponding to SRFI-4 vectors, a `u64vector' type,
so to speak (right?).

It is basically not such a bad idea to extend the implementation
of SRFI-4 accordingly. But it gets tediuos on 32-bit machines,
especially
since we don't have bignums yet.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]