summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api.array.rst
diff options
context:
space:
mode:
authorFrederic <nouiz@nouiz.org>2012-07-06 10:28:40 -0400
committerFrederic <nouiz@nouiz.org>2012-07-06 10:28:40 -0400
commitb009f97755be92ec75b9e3c0d071043d49c57d71 (patch)
tree7bb784703f0699d34ac7fd4cd85f39fa8ea9f338 /doc/source/reference/c-api.array.rst
parent731cf3aaaa95c714361f4062e6929f5a324586cc (diff)
downloadnumpy-b009f97755be92ec75b9e3c0d071043d49c57d71.tar.gz
Add doc for PyArray_FILLWBYTE to tell the ndarray must be c contiguous.
Diffstat (limited to 'doc/source/reference/c-api.array.rst')
-rw-r--r--doc/source/reference/c-api.array.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst
index 8736cbc3f..6ab8ef6a2 100644
--- a/doc/source/reference/c-api.array.rst
+++ b/doc/source/reference/c-api.array.rst
@@ -289,6 +289,7 @@ From scratch
Fill the array pointed to by *obj* ---which must be a (subclass
of) bigndarray---with the contents of *val* (evaluated as a byte).
+ This is a macro that call memset, so obj must be contiguous in memory.
.. cfunction:: PyObject* PyArray_Zeros(int nd, npy_intp* dims, PyArray_Descr* dtype, int fortran)