1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 05:30:21 +02:00
guile/module
Andy Wingo 9ff7c0651c Give arrays a proper type in C land
As long as we have a tc7 for arrays, we should be able to access it with
a struct type instead of casting each word.

* libguile/arrays-internal.h: New file.
* libguile/arrays.h (scm_array_p): Take just one argument.
(SCM_I_ARRAYP):
(SCM_I_ARRAY_NDIM):
(SCM_I_ARRAY_V):
(SCM_I_ARRAY_BASE):
(SCM_I_ARRAY_DIMS):
(SCM_I_ARRAY_SET_V):
(SCM_I_ARRAY_SET_BASE): Remove.
(scm_i_raw_array, scm_i_make_array, scm_i_shap2ra, scm_init_arrays):
Remove internally-linked decls.
* libguile/init.c:
* libguile/print.c:
* libguile/array-handle.c: Use interfaces from new file.
* module/system/vm/assembler.scm: Update, as we now shift the dimension
count by only 16.  Requires a rebuild!
2025-06-03 14:55:09 +02:00
..
ice-9 Move array-map / array-cell functions to Scheme module 2025-06-03 14:34:26 +02:00
language Fix bytevector mutators to correctly check for mutability 2025-05-30 16:48:26 +02:00
oop Move array-map / array-cell functions to Scheme module 2025-06-03 14:34:26 +02:00
rnrs Implement R6RS custom textual ports 2023-06-08 10:21:02 +02:00
scheme Update set of decimal zeroes for Unicode 15.1.0 2023-11-02 11:31:32 +01:00
scripts Deprecate object-properties in the main environment 2025-05-12 13:45:21 +02:00
srfi Move weak table implementation to Scheme 2025-05-13 14:57:31 +02:00
sxml Fix typos in comments. 2025-02-28 09:58:29 +01:00
system Give arrays a proper type in C land 2025-06-03 14:55:09 +02:00
texinfo Fix typo in transform-string docstring 2025-03-20 13:36:58 -05:00
web Move make-object-property out to a module 2025-05-12 13:45:07 +02:00
Makefile.am Rework bootstrap to be reproducible 2022-02-01 14:50:40 +01:00
rnrs.scm Remove all deprecated code from Scheme files 2025-05-05 12:33:37 +02:00
statprof.scm Fix typos throughout codebase. 2024-05-06 11:51:53 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00