[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/08: Remove documentation on uniform-vector-read!, uni
From: |
Daniel Llorens |
Subject: |
[Guile-commits] 02/08: Remove documentation on uniform-vector-read!, uniform-vector-write |
Date: |
Fri, 19 May 2017 05:26:03 -0400 (EDT) |
lloda pushed a commit to branch wip-exception-truncate
in repository guile.
commit 0c616c31754d00fd12442b7ec2a3339a5b355920
Author: Daniel Llorens <address@hidden>
Date: Mon Feb 13 13:21:59 2017 +0100
Remove documentation on uniform-vector-read!, uniform-vector-write
* NEWS: Add specific removal notice.
* doc/ref/api-data.texi: Remove documentation on uniform-vector-read!,
uniform-vector-write.
---
NEWS | 7 +++++++
doc/ref/api-data.texi | 33 ---------------------------------
2 files changed, 7 insertions(+), 33 deletions(-)
diff --git a/NEWS b/NEWS
index 6d7e58e..5267677 100644
--- a/NEWS
+++ b/NEWS
@@ -802,6 +802,13 @@ All code deprecated in Guile 2.0 has been removed. See
older NEWS, and
check that your programs can compile without linker warnings and run
without runtime warnings. See "Deprecation" in the manual.
+In particular, the following functions, which were deprecated in 2.0.10
+but not specifically mentioned earlier in this file, have been removed:
+
+*** `uniform-vector-read!' and `uniform-vector-write' have been
+ removed. Use `get-bytevector-n!' and `put-bytevector' from (rnrs io
+ ports) instead.
+
** Remove miscellaneous unused interfaces
We have removed accidentally public, undocumented interfaces that we
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index 7b10d34..c243b94 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -7568,39 +7568,6 @@ $\left(\matrix{%
@end example
@end deffn
address@hidden {Scheme Procedure} uniform-array-read! ra [port_or_fd [start
[end]]]
address@hidden {C Function} scm_uniform_array_read_x (ra, port_or_fd, start,
end)
-Attempt to read all elements of array @var{ra}, in lexicographic order, as
-binary objects from @var{port_or_fd}.
-If an end of file is encountered,
-the objects up to that point are put into @var{ra}
-(starting at the beginning) and the remainder of the array is
-unchanged.
-
-The optional arguments @var{start} and @var{end} allow
-a specified region of a vector (or linearized array) to be read,
-leaving the remainder of the vector unchanged.
-
address@hidden returns the number of objects read.
address@hidden may be omitted, in which case it defaults to the value
-returned by @code{(current-input-port)}.
address@hidden deffn
-
address@hidden {Scheme Procedure} uniform-array-write ra [port_or_fd [start
[end]]]
address@hidden {C Function} scm_uniform_array_write (ra, port_or_fd, start, end)
-Writes all elements of @var{ra} as binary objects to
address@hidden
-
-The optional arguments @var{start}
-and @var{end} allow
-a specified region of a vector (or linearized array) to be written.
-
-The number of objects actually written is returned.
address@hidden may be
-omitted, in which case it defaults to the value returned by
address@hidden(current-output-port)}.
address@hidden deffn
-
@node Shared Arrays
@subsubsection Shared Arrays
- [Guile-commits] branch wip-exception-truncate updated (61ccc72 -> 3b518cc), Daniel Llorens, 2017/05/19
- [Guile-commits] 01/08: Replace uniform-vector-read benchmark with bytevector-io benchmark, Daniel Llorens, 2017/05/19
- [Guile-commits] 02/08: Remove documentation on uniform-vector-read!, uniform-vector-write,
Daniel Llorens <=
- [Guile-commits] 04/08: Support non-zero lower bounds in array-slice-for-each, Daniel Llorens, 2017/05/19
- [Guile-commits] 08/08: (wip) give a handle into format used in exceptions, Daniel Llorens, 2017/05/19
- [Guile-commits] 07/08: Support general arrays in random:hollow-sphere!, Daniel Llorens, 2017/05/19
- [Guile-commits] 03/08: Fix sort, sort! for arrays with nonzero lower bound, Daniel Llorens, 2017/05/19
- [Guile-commits] 05/08: Fix bitvectors and non-zero lower bound arrays in truncated-print, Daniel Llorens, 2017/05/19
- [Guile-commits] 06/08: Remove scm_generalized_vector_get_handle, Daniel Llorens, 2017/05/19