[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: char-ready? for soft ports
From: |
Neil Jerram |
Subject: |
Re: char-ready? for soft ports |
Date: |
09 Oct 2002 20:23:57 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Neil" == Neil Jerram <address@hidden> writes:
>>>>> "Marius" == Marius Vollmer <address@hidden> writes:
Marius> Neil Jerram <address@hidden> writes:
>>> (Is the use of SCM_INUM in sf_input_waiting safe?)
Marius> I don't think so. Using scm_uint2num or scm_int2num
Marius> should not be a significant overhead.
Neil> That's the wrong way round, though. I need to convert a
Neil> Scheme value, which is expected but not guaranteed to be an
Neil> integer >=0, to a C int.
OK, I see now that I need scm_num2int here.
Neil