chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] srfi-19 time, flonums and s11n


From: felix winkelmann
Subject: Re: [Chicken-users] srfi-19 time, flonums and s11n
Date: Mon, 3 Sep 2007 20:00:08 +0200

On 9/3/07, Shawn Rutledge <address@hidden> wrote:
>
> It would be nice if there were a way to keep 32-bit numbers that have
> been received from C, store them that way inside the time object, pass
> them across s11n that way, and only convert to bignum when you call
> (time-second).

You could pass an 1-element u32vector to C and store the result in the
vector. Then you can pass around (and serialize) the vector from Scheme.


cheers,
felix




reply via email to

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