diff options
author | Andy Wingo <wingo@pobox.com> | 2014-02-08 15:31:37 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2014-02-08 15:31:37 +0100 |
commit | 8051cf23044e5dbbece0d328102197a04ce5718d (patch) | |
tree | 71287078307d5ff47fd54c1b2aed097975bc81b9 /doc/ref/api-foreign.texi | |
parent | 54f17b7b597a3695a25babac92255ed52fbeec4a (diff) | |
parent | fb7dd00169304a5922838e4d2f25253640a35def (diff) | |
download | guile-8051cf23044e5dbbece0d328102197a04ce5718d.tar.gz |
Merge commit 'fb7dd00169304a5922838e4d2f25253640a35def'
This commit also renames uniform-vector-element-type-code to
array-type-code.
Conflicts:
libguile/uniform.c
libguile/uniform.h
test-suite/tests/arrays.test
Diffstat (limited to 'doc/ref/api-foreign.texi')
-rw-r--r-- | doc/ref/api-foreign.texi | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/ref/api-foreign.texi b/doc/ref/api-foreign.texi index e59566849..381c10d63 100644 --- a/doc/ref/api-foreign.texi +++ b/doc/ref/api-foreign.texi @@ -1,7 +1,7 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. @c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2007, 2008, -@c 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. +@c 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @node Foreign Function Interface @@ -613,12 +613,10 @@ Scheme objects such as strings, floating point numbers, or integers. Return a bytevector aliasing the @var{len} bytes pointed to by @var{pointer}. -The user may specify an alternate default interpretation for -the memory by passing the @var{uvec_type} argument, to indicate -that the memory is an array of elements of that type. -@var{uvec_type} should be something that -@code{uniform-vector-element-type} would return, like @code{f32} -or @code{s16}. +The user may specify an alternate default interpretation for the memory +by passing the @var{uvec_type} argument, to indicate that the memory is +an array of elements of that type. @var{uvec_type} should be something +that @code{array-type} would return, like @code{f32} or @code{s16}. When @var{offset} is passed, it specifies the offset in bytes relative to @var{pointer} of the memory region aliased by the returned |