1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-02 07:40:30 +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:
Andy Wingo 2025-06-24 09:59:24 +02:00
parent 0a5d2ffb1a
commit d73c675fa6
12 changed files with 34 additions and 34 deletions

View file

@ -847,7 +847,7 @@ SCM_DEFINE (scm_module_reverse_lookup, "module-reverse-lookup", 2, 0, 0,
struct scm_t_hashtable *ht = scm_to_hashtable (obarray);
SCM buckets = ht->buckets;
n = SCM_SIMPLE_VECTOR_LENGTH (buckets);
n = scm_c_vector_length (buckets);
for (i = 0; i < n; ++i)
{
for (SCM ls = SCM_SIMPLE_VECTOR_REF (buckets, i);