mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
* vectors.c (scm_make_vector): Fill vectors with the undefined
value, to help make Guile Scheme code more portable to other Schemes.
This commit is contained in:
parent
fe0c6dae02
commit
d60cebe257
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ scm_make_vector(k, fill, multip)
|
||||||
|
|
||||||
SCM_ASSERT(SCM_INUMP(k) && (0 <= SCM_INUM (k)), k, SCM_ARG1, s_make_vector);
|
SCM_ASSERT(SCM_INUMP(k) && (0 <= SCM_INUM (k)), k, SCM_ARG1, s_make_vector);
|
||||||
if (SCM_UNBNDP(fill))
|
if (SCM_UNBNDP(fill))
|
||||||
fill = SCM_EOL;
|
fill = SCM_UNSPECIFIED;
|
||||||
multi = !(SCM_UNBNDP(multip) || SCM_FALSEP(multip));
|
multi = !(SCM_UNBNDP(multip) || SCM_FALSEP(multip));
|
||||||
i = SCM_INUM(k);
|
i = SCM_INUM(k);
|
||||||
SCM_NEWCELL(v);
|
SCM_NEWCELL(v);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue