diff options
Diffstat (limited to 'doc/ref/api-data.texi')
-rw-r--r-- | doc/ref/api-data.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi index 1df88e755..b6c2c4d61 100644 --- a/doc/ref/api-data.texi +++ b/doc/ref/api-data.texi @@ -6612,6 +6612,13 @@ Return a new list initialized with the elements of the bitvector @var{vec}. @end deffn +@deffn {Scheme Procedure} bitvector-copy bitvector [start [end]] +@deffnx {C Function} scm_bitvector_copy (bitvector, start, end) +Returns a freshly allocated bitvector containing the elements of @var{bitvector} +in the range [@var{start} ... @var{end}). @var{start} defaults to 0 and +@var{end} defaults to the length of @var{bitvector}. +@end deffn + @deffn {Scheme Procedure} bitvector-count bitvector Return a count of how many entries in @var{bitvector} are set. |