mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 20:05:32 +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
|
@ -131,7 +131,7 @@ regular hash tables. (@pxref{Hash Tables})")
|
|||
#define FUNC_NAME s_scm_make_weak_key_hash_table
|
||||
{
|
||||
SCM v;
|
||||
SCM_VALIDATE_INT(1,k);
|
||||
SCM_VALIDATE_INUM(1,k);
|
||||
v = scm_make_weak_vector (k, SCM_EOL);
|
||||
SCM_ALLOW_INTS;
|
||||
SCM_VELTS (v)[-1] = 1;
|
||||
|
@ -147,7 +147,7 @@ GUILE_PROC (scm_make_weak_value_hash_table, "make-weak-value-hash-table", 1, 0,
|
|||
#define FUNC_NAME s_scm_make_weak_value_hash_table
|
||||
{
|
||||
SCM v;
|
||||
SCM_VALIDATE_INT(1,k);
|
||||
SCM_VALIDATE_INUM(1,k);
|
||||
v = scm_make_weak_vector (k, SCM_EOL);
|
||||
SCM_ALLOW_INTS;
|
||||
SCM_VELTS (v)[-1] = 2;
|
||||
|
@ -164,7 +164,7 @@ GUILE_PROC (scm_make_doubly_weak_hash_table, "make-doubly-weak-hash-table", 1, 0
|
|||
#define FUNC_NAME s_scm_make_doubly_weak_hash_table
|
||||
{
|
||||
SCM v;
|
||||
SCM_VALIDATE_INT(1,k);
|
||||
SCM_VALIDATE_INUM(1,k);
|
||||
v = scm_make_weak_vector (k, SCM_EOL);
|
||||
SCM_ALLOW_INTS;
|
||||
SCM_VELTS (v)[-1] = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue