[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: Explain why no native accessors for `s8' and `u8'
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/01: Explain why no native accessors for `s8' and `u8' exist |
Date: |
Mon, 27 Feb 2017 15:33:36 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit f8dd4f67b5af9e80642a6b262f96049690a3e8bf
Author: Diogo F. S. Ramos <address@hidden>
Date: Sun Feb 26 19:19:00 2017 -0300
Explain why no native accessors for `s8' and `u8' exist
* doc/ref/api-data.texi: Instead of saying it is obvious, explain why
no native endianness accessors exist for the `s8' and `u8' variants.
---
doc/ref/api-data.texi | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/doc/ref/api-data.texi b/doc/ref/api-data.texi
index 1b3170e..bf46d5c 100644
--- a/doc/ref/api-data.texi
+++ b/doc/ref/api-data.texi
@@ -6942,8 +6942,9 @@ Store @var{value} as an @var{n}-bit (signed) integer
(where @var{n} is
@end deffn
Finally, a variant specialized for the host's endianness is available
-for each of these functions (with the exception of the @code{u8}
-accessors, for obvious reasons):
+for each of these functions (with the exception of the @code{u8} and
address@hidden accessors, as endianness is about byte order and there is only
+1 byte):
@deffn {Scheme Procedure} bytevector-u16-native-ref bv index
@deffnx {Scheme Procedure} bytevector-s16-native-ref bv index