guile-user
[Top][All Lists]
Advanced

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

Re: converting from the numeric tower to C99 integer types.


From: Marius Vollmer
Subject: Re: converting from the numeric tower to C99 integer types.
Date: 04 May 2003 00:31:48 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Thamer Al-Harbash <address@hidden> writes:

> On Fri, 11 Apr 2003, Thamer Al-Harbash wrote:
> 
> > Hi,
> >
> > I understand guile currently does not support this based on
> > looking at the code (libguile/numbers.c) and the documentation;
> > however, has anyone here written patches to convert SCM integers
> > to C99 types: scm_num2int32(), scm_num2uint8() ?
> 
> Looks like implementing this isn't difficult with
> num2integral.i.c My bad.

Yep.  Conversion functions for all the stdint.h types would be
most welcome.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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