mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
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.
This commit is contained in:
parent
f261eaf03a
commit
f8dd4f67b5
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
@code{s8} 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue