Mark H Weaver writes:
> It would be good if you could duplicate the `mp_set_memory_functions'
> interface in mini-gmp.
I'm looking into this. I found that the GMP interface has one awkward
feature: The current allocation size must be passed as an argument to
the free and realloc functions. See
h
ni...@lysator.liu.se (Niels Möller) writes:
> Mark H Weaver writes:
>
>> It would be good if you could duplicate the `mp_set_memory_functions'
>> interface in mini-gmp.
>
> I'm looking into this. I found that the GMP interface has one awkward
> feature: The current allocation size must be passed
The R5RS specifies that if 'char-ready?' returns #t, then the next
'read-char' operation is guaranteed not to hang. This is not currently
the case for ports using a multibyte encoding.
'char-ready?' currently returns #t whenever at least one _byte_ is
available. This is not correct in general.