From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.bugs Subject: bug#10519: guile and (mini-)gmp Date: Sat, 28 Jan 2012 05:10:22 -0500 Message-ID: <87mx98kui9.fsf@netris.org> References: <87aa5o2bm2.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327769844 17934 80.91.229.3 (28 Jan 2012 16:57:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2012 16:57:24 +0000 (UTC) Cc: 10519@debbugs.gnu.org, Torbjorn Granlund To: nisse@lysator.liu.se (Niels =?UTF-8?Q?M=C3=B6ller?=) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Jan 28 17:57:21 2012 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RrBaS-0000Ox-Ku for guile-bugs@m.gmane.org; Sat, 28 Jan 2012 17:57:12 +0100 Original-Received: from localhost ([::1]:41155 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr5Gh-0008Jy-4X for guile-bugs@m.gmane.org; Sat, 28 Jan 2012 05:12:23 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr5Gf-0008Jt-8s for bug-guile@gnu.org; Sat, 28 Jan 2012 05:12:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rr5Ge-00058D-5w for bug-guile@gnu.org; Sat, 28 Jan 2012 05:12:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr5Ge-000589-1q for bug-guile@gnu.org; Sat, 28 Jan 2012 05:12:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Rr5HJ-0000Ve-NZ for bug-guile@gnu.org; Sat, 28 Jan 2012 05:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark H Weaver Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 28 Jan 2012 10:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10519 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10519-submit@debbugs.gnu.org id=B10519.13277455281899 (code B ref 10519); Sat, 28 Jan 2012 10:13:01 +0000 Original-Received: (at 10519) by debbugs.gnu.org; 28 Jan 2012 10:12:08 +0000 Original-Received: from localhost ([127.0.0.1]:47515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rr5GR-0000UZ-Lj for submit@debbugs.gnu.org; Sat, 28 Jan 2012 05:12:08 -0500 Original-Received: from world.peace.net ([96.39.62.75]:55581 ident=hope7) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rr5GO-0000UR-Sl for 10519@debbugs.gnu.org; Sat, 28 Jan 2012 05:12:06 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Rr5Fd-0001Rn-4g; Sat, 28 Jan 2012 05:11:17 -0500 In-Reply-To: ("Niels \=\?utf-8\?Q\?M\?\= \=\?utf-8\?Q\?\=C3\=B6ller\=22's\?\= message of "Sat, 28 Jan 2012 10:49:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:6102 Archived-At: nisse@lysator.liu.se (Niels M=C3=B6ller) 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 as an argument to > the free and realloc functions. See > http://gmplib.org/list-archives/gmp-devel/2012-January/002161.html > > Does guile make any use of these size arguments? I'm considering having > mini-gmp *not* support this part of the allocation interface, and > instead always pass zero, for the sake of simplicity. Guile ignores the size arguments to the free and realloc functions, and I don't anticipate ever needing them in any future version of Guile. Thanks, Mark