diff options
author | Frederic <nouiz@nouiz.org> | 2012-07-06 10:28:40 -0400 |
---|---|---|
committer | Frederic <nouiz@nouiz.org> | 2012-07-06 10:28:40 -0400 |
commit | b009f97755be92ec75b9e3c0d071043d49c57d71 (patch) | |
tree | 7bb784703f0699d34ac7fd4cd85f39fa8ea9f338 /doc/source/reference/c-api.array.rst | |
parent | 731cf3aaaa95c714361f4062e6929f5a324586cc (diff) | |
download | numpy-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.rst | 1 |
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) |