From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] Configure GMP to use GC allocation functions, remove bignum finalizers Date: Sat, 03 Dec 2011 18:57:00 +0100 Message-ID: <878vmtbksz.fsf@gnu.org> References: <87tycaodlk.fsf@netris.org> <87k4d6edvr.fsf@gnu.org> <8739jue9wk.fsf@neil-laptop.ossau.uklinux.net> <87zkfh9x8r.fsf@pobox.com> <8762i5mf4x.fsf@gnu.org> <874nxj8c00.fsf@pobox.com> <877h2enbzk.fsf@gnu.org> <87vcpy7she.fsf@pobox.com> <87y5uuboum.fsf@gnu.org> <87r50l7wis.fsf@pobox.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322935033 10765 80.91.229.12 (3 Dec 2011 17:57:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2011 17:57:13 +0000 (UTC) Cc: Neil Jerram , guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Dec 03 18:57:09 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWtpj-0005NR-CY for guile-devel@m.gmane.org; Sat, 03 Dec 2011 18:57:07 +0100 Original-Received: from localhost ([::1]:34957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWtpi-000191-KG for guile-devel@m.gmane.org; Sat, 03 Dec 2011 12:57:06 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:43840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWtph-00018u-0R for guile-devel@gnu.org; Sat, 03 Dec 2011 12:57:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWtpf-0006tM-L1 for guile-devel@gnu.org; Sat, 03 Dec 2011 12:57:04 -0500 Original-Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:16848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWtpf-0006tG-9r for guile-devel@gnu.org; Sat, 03 Dec 2011 12:57:03 -0500 X-IronPort-AV: E=Sophos;i="4.71,290,1320620400"; d="scan'208";a="121930747" Original-Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 03 Dec 2011 18:57:01 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 13 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87r50l7wis.fsf@pobox.com> (Andy Wingo's message of "Sat, 03 Dec 2011 11:57:31 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.105 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:12958 Archived-At: Andy Wingo skribis: > On Fri 02 Dec 2011 23:17, ludo@gnu.org (Ludovic Court=C3=A8s) 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=E2=80=99d say no, because that will fail gracelessly if it gets set or= cleared >> in the middle of a run, won=E2=80=99t 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=E2=80=99t hurt to leave it public, then. Thanks, Ludo=E2=80=99.