summaryrefslogtreecommitdiff
path: root/libguile/deprecated.h
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2020-04-12 21:26:47 +0200
committerAndy Wingo <wingo@pobox.com>2020-04-12 21:36:30 +0200
commit24a34074ef8fd91c111ed9987375f25925f69e26 (patch)
tree98fde41becf8208ecbb5b7ad0237d9a060e7a182 /libguile/deprecated.h
parent2b4e45ca1b89a942200b7b9f46060dddc44d2876 (diff)
downloadguile-24a34074ef8fd91c111ed9987375f25925f69e26.tar.gz
Deprecate bitvector-ref on array slices
* NEWS: Update. * doc/ref/api-data.texi (Bit Vectors): Update documentation on bit-set*! and bit-count*. * libguile/bitvectors.c: Add a to-do list. (scm_c_bitvector_ref, scm_c_bitvector_set_x, scm_bitvector_fill_x) (scm_bitvector_to_list, scm_bit_count, scm_bit_position): Issue deprecation warnings when used on array slices. (scm_list_to_bitvector): Simplify. (scm_bit_set_star_x, scm_bit_count_star): Deprecate arrays as target bitvectors, and also use of u32vector as selection vector. * libguile/bitvectors.h: * libguile/deprecated.h: * libguile/deprecated.c (scm_istr2bve): Deprecate. * test-suite/tests/bitvectors.test ("bit-count*"): Remove test of u32 selectors.
Diffstat (limited to 'libguile/deprecated.h')
-rw-r--r--libguile/deprecated.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libguile/deprecated.h b/libguile/deprecated.h
index ba249da13..fb8854326 100644
--- a/libguile/deprecated.h
+++ b/libguile/deprecated.h
@@ -115,6 +115,8 @@ typedef struct scm_thread scm_i_thread SCM_DEPRECATED_TYPE;
SCM_DEPRECATED char* scm_find_executable (const char *name);
+SCM_DEPRECATED SCM scm_istr2bve (SCM str);
+
void scm_i_init_deprecated (void);
#endif