Re: incoming parameter validation (float/double deprecated)

2012-11-05 Thread Ludovic Courtès
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

incoming parameter validation (float/double deprecated)

2012-08-11 Thread Aleix Conchillo Flaqué
Hi, I have started using SCM_VALIDATE_XXX_COPY to check incoming parameters. I have seen that for most of the types, for example uint, this is equivalent to scm_to_uint which is what I was doing before. I have also found that SCM_VALIDATE_FLOAT_COPY and SCM_VALIDATE_DOUBLE_COPY use deprecated f