guile-devel
[Top][All Lists]
Advanced

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

Re: incoming parameter validation (float/double deprecated)


From: Ludovic Courtès
Subject: Re: incoming parameter validation (float/double deprecated)
Date: Mon, 05 Nov 2012 19:05:34 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi,

Sorry for the delay.

Aleix Conchillo Flaqué <address@hidden> 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’.




reply via email to

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