mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 09:10:22 +02:00
* *.[ch]: Replace SCM_VALIDATE_INT w/ SCM_VALIDATE_INUM for
better consistency with the names of other SCM_VALIDATE_ macros and better conformance to guile naming policy.
This commit is contained in:
parent
f5421cfc2a
commit
47c6b75ea9
27 changed files with 172 additions and 172 deletions
|
@ -386,7 +386,7 @@ GUILE_PROC(scm_set_tick_rate, "set-tick-rate", 1, 0, 0,
|
|||
#define FUNC_NAME s_scm_set_tick_rate
|
||||
{
|
||||
unsigned int old_n;
|
||||
SCM_VALIDATE_INT(1,n);
|
||||
SCM_VALIDATE_INUM(1,n);
|
||||
old_n = scm_tick_rate;
|
||||
scm_desired_tick_rate = SCM_INUM (n);
|
||||
scm_async_rate = 1 + scm_async_rate - scm_async_clock;
|
||||
|
@ -404,7 +404,7 @@ GUILE_PROC(scm_set_switch_rate, "set-switch-rate", 1, 0, 0,
|
|||
#define FUNC_NAME s_scm_set_switch_rate
|
||||
{
|
||||
unsigned int old_n;
|
||||
SCM_VALIDATE_INT(1,n);
|
||||
SCM_VALIDATE_INUM(1,n);
|
||||
old_n = scm_switch_rate;
|
||||
scm_desired_switch_rate = SCM_INUM (n);
|
||||
scm_async_rate = 1 + scm_async_rate - scm_async_clock;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue