summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2020-04-14 22:40:43 +0200
committerAndy Wingo <wingo@pobox.com>2020-04-14 22:40:43 +0200
commit8110061e647134ab9071ecb5ce59b69b4ed6ed35 (patch)
tree126a6f1288ead0c1b1c750ab077a83088b92e454 /NEWS
parentd804177be4525feb517feb63ca09502d187fc016 (diff)
downloadguile-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 'NEWS')
-rw-r--r--NEWS19
1 files changed, 14 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index c5875b2b3..68e5d08f0 100644
--- a/NEWS
+++ b/NEWS
@@ -14,11 +14,6 @@ Changes in 3.0.3 (since 3.0.2)
These replace the wonky "bit-count" and "bit-position" procedures. See
"Bit Vectors" in the manual, for more.
-** New bitvector-set-bits!, bitvector-clear-bits! procedures
-
-These replace the wonky "bit-set*!" procedure. See "Bit Vectors" in the
-manual, for more.
-
** New bitvector-bit-set?, bitvector-bit-clear? procedures
These replace bitvector-ref. The reason to migrate is that it's an
@@ -26,6 +21,16 @@ opportunity be more efficient in 3.0 (because no generic array support),
easier to read (no need for 'not' when checking for false bits), and
more consistent with other bitvector procedures.
+** New bitvector-set-bit!, bitvector-clear-bit! procedures
+
+These replace bitvector-set!, for similar reasons as the bitvector-ref
+replacement above.
+
+** New bitvector-set-bits!, bitvector-clear-bits! procedures
+
+These replace the wonky "bit-set*!" procedure. See "Bit Vectors" in the
+manual, for more.
+
* New deprecations
** bit-count, bit-position deprecated
@@ -37,6 +42,10 @@ the manual.
Use 'bitvector-bit-set?' or 'bitvector-bit-clear?' instead.
+** 'bitvector-set!' deprecated
+
+Use 'bitvector-set-bit!' or 'bitvector-clear-bit!' instead.
+
** 'bit-set*!' deprecated
Use 'bitvector-set-bits!' or 'bitvector-clear-bits!' instead.