mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 01:00:20 +02:00
bitvector tweaks
* libguile/arrays.c (scm_from_contiguous_typed_array): * libguile/bytevectors.c (scm_uniform_array_to_bytevector): Error if the uniform element size is more than 8 bits, but not divisible by 8 -- because our math could overflow in that case. * module/ice-9/deprecated.scm (#\y): Indeed, #* is the valid bitvector syntax :)
This commit is contained in:
parent
96e15df109
commit
b0fae4ecaa
3 changed files with 9 additions and 3 deletions
|
@ -190,7 +190,7 @@
|
|||
#\y
|
||||
(lambda (c port)
|
||||
(issue-deprecation-warning
|
||||
"The `#y' bitvector syntax is deprecated. Use `bitvector' instead.")
|
||||
"The `#y' bitvector syntax is deprecated. Use `#*' instead.")
|
||||
(let ((x (read port)))
|
||||
(cond
|
||||
((list? x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue