diff options
author | Andy Wingo <wingo@pobox.com> | 2020-04-14 22:40:43 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2020-04-14 22:40:43 +0200 |
commit | 8110061e647134ab9071ecb5ce59b69b4ed6ed35 (patch) | |
tree | 126a6f1288ead0c1b1c750ab077a83088b92e454 /libguile/posix.c | |
parent | d804177be4525feb517feb63ca09502d187fc016 (diff) | |
download | guile-8110061e647134ab9071ecb5ce59b69b4ed6ed35.tar.gz |
bitvector-set-bit! / bitvector-clear-bit! replace bitvector-set!
* NEWS: Add entry.
* doc/ref/api-data.texi (Bit Vectors): Update.
* libguile/array-handle.h (bitvector_set_x, scm_array_get_handle): Adapt
to bitvector changes.
* libguile/bitvectors.h:
* libguile/bitvectors.c (scm_c_bitvector_set_bit_x)
(scm_c_bitvector_clear_bit_x): New functions.
* libguile/deprecated.h:
* libguile/deprecated.c (scm_bitvector_set_x): Deprecate.
* module/ice-9/sandbox.scm (mutable-bitvector-bindings): Replace
bitvector-set! with bitvector-set-bit! / bitvector-clear-bit!.
* module/system/vm/disassembler.scm (static-opcode-set): Use
bitvector-set-bit!.
* module/system/vm/frame.scm (compute-defs-by-slot, available-bindings):
Use bitvector-set-bit!.
* test-suite/tests/bitvectors.test: Update.
Diffstat (limited to 'libguile/posix.c')
-rw-r--r-- | libguile/posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/posix.c b/libguile/posix.c index 9b9b47636..5d51633ce 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -2137,7 +2137,7 @@ cpu_set_to_bitvector (const cpu_set_t *cs) { if (CPU_ISSET (cpu, cs)) /* XXX: This is inefficient but avoids code duplication. */ - scm_c_bitvector_set_x (bv, cpu, SCM_BOOL_T); + scm_c_bitvector_set_bit_x (bv, cpu); } return bv; |