mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-02 15:40:38 +02:00
Switch all users of SCM_SIMPLE_VECTOR_LENGTH to scm_c_vector_length
* libguile/arrays.c: * libguile/eval.c: * libguile/filesys.c: * libguile/hash.c: * libguile/hashtab.c: * libguile/memoize.c: * libguile/modules.c: * libguile/poll.c: * libguile/posix.c: * libguile/print.c: * libguile/socket.c: * libguile/stime.c: Use C function instead of macro.
This commit is contained in:
parent
0a5d2ffb1a
commit
d73c675fa6
12 changed files with 34 additions and 34 deletions
|
@ -345,7 +345,7 @@ SCM_DEFINE (scm_setgroups, "setgroups", 1, 0, 0,
|
|||
|
||||
SCM_VALIDATE_VECTOR (SCM_ARG1, group_vec);
|
||||
|
||||
ngroups = SCM_SIMPLE_VECTOR_LENGTH (group_vec);
|
||||
ngroups = scm_c_vector_length (group_vec);
|
||||
|
||||
/* validate before allocating, so we don't have to worry about leaks */
|
||||
for (i = 0; i < ngroups; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue