From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: incoming parameter validation (float/double deprecated) Date: Mon, 05 Nov 2012 19:05:34 +0100 Message-ID: <87wqy0sz69.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1352138765 3254 80.91.229.3 (5 Nov 2012 18:06:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Nov 2012 18:06:05 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Nov 05 19:06:15 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TVR3u-0005Za-K3 for guile-devel@m.gmane.org; Mon, 05 Nov 2012 19:06:14 +0100 Original-Received: from localhost ([::1]:38473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVR3l-0007Jj-Mb for guile-devel@m.gmane.org; Mon, 05 Nov 2012 13:06:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVR3e-0007JL-Bf for guile-devel@gnu.org; Mon, 05 Nov 2012 13:06:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TVR3Y-0001QC-Jk for guile-devel@gnu.org; Mon, 05 Nov 2012 13:05:58 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TVR3Y-0001Pt-Cn for guile-devel@gnu.org; Mon, 05 Nov 2012 13:05:52 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TVR3c-0005NA-6G for guile-devel@gnu.org; Mon, 05 Nov 2012 19:05:56 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Nov 2012 19:05:56 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Nov 2012 19:05:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Brumaire an 221 de la =?utf-8?Q?R=C3=A9volution?= 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 User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:BTc0YrJ9rpP4+zV2Ax7fz2Lz1Aw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:15092 Archived-At: Hi, Sorry for the delay. Aleix Conchillo Flaqué skribis: > - Should SCM_VALIDATE_(FLOAT|DOUBLE)_COPY use scm_to_double? Yes. I’ve just fixed it, thanks! > - Are SCM_VALIDATE_XXX_COPY the way to go? Because it is ignoring the > pos argument. It seems, simply calling scm_to_int, etc. would be > enough. But that might change in the future, so I guess the macro is > fine. Right. Ideally they wouldn’t ignore it, but we’ll live with it for now. Ludo’.