[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
converting from the numeric tower to C99 integer types.
From: |
Thamer Al-Harbash |
Subject: |
converting from the numeric tower to C99 integer types. |
Date: |
Fri, 11 Apr 2003 15:56:50 -0400 (EDT) |
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() ?
Does anyone know of a project that manages in using C99 integer
types internally in the C code and convert between SCM integers
and the C99 types portably?
One of the less attractive ideas is to convert from an SCM
integer to a string, and then sscanf() it into a C99 integer
type.
--
Thamer Al-Harbash http://www.whitefang.com/
(if (> pressure too-much-pressure)
'flame 'work)
- converting from the numeric tower to C99 integer types.,
Thamer Al-Harbash <=