1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-02 15:40:38 +02:00

Move vectors off scm_words

Also move most internal vector representation into a private header
file.

* libguile/vectors-internal.h: New file.
* libguile/vectors.h (SCM_I_IS_MUTABLE_VECTOR, SCM_I_VECTOR_WELTS)
(SCM_I_VECTOR_ELTS, SCM_I_VECTOR_LENGTH): Remove these internal
definitions.
* libguile/vectors.c: Adapt to use new data types.
* libguile/eval.c: Include internal file.
* libguile/init.c: Include internal file.
* libguile/array-handle.c (scm_array_get_handle): Use new functions.
This commit is contained in:
Andy Wingo 2025-06-24 11:20:38 +02:00
parent 7dfbb8bc4b
commit a478665ab6
7 changed files with 162 additions and 73 deletions

View file

@ -138,7 +138,7 @@
#include "uniform.h"
#include "values.h"
#include "variable.h"
#include "vectors.h"
#include "vectors-internal.h"
#include "version.h"
#include "vm.h"