guile-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Configure GMP to use GC allocation functions, remove bignum


From: Ludovic Courtès
Subject: Re: [PATCH] Configure GMP to use GC allocation functions, remove bignum finalizers
Date: Sat, 03 Dec 2011 18:57:00 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Andy Wingo <address@hidden> skribis:

> On Fri 02 Dec 2011 23:17, address@hidden (Ludovic Courtès) writes:
>
>>> For that reason I defaulted scm_install_gmp_memory_functions to 1.
>>
>>>> Could you make it SCM_INTERNAL instead of SCM_API?
>>>
>>> Sure, but you don't want to allow users to set it?
>>
>> I’d say no, because that will fail gracelessly if it gets set or cleared
>> in the middle of a run, won’t it?
>
> To use it, you have to set it before scm_init_numbers() runs, as that is
> the only place it is checked.

OK, it doesn’t hurt to leave it public, then.

Thanks,
Ludo’.



reply via email to

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