summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorTim Felgentreff <tim.felgentreff@oracle.com>2018-11-19 15:18:51 +0100
committerTim Felgentreff <tim.felgentreff@oracle.com>2018-11-19 15:22:12 +0100
commit46e9fd95d96fc15b567bf3c324129fe89bdc0713 (patch)
treefb0894d8981d7ac9612addf9fbfaca17dad096b5 /numpy/core/include
parentb0313792953c49629f94fcc79bf14e913ca77f36 (diff)
downloadnumpy-46e9fd95d96fc15b567bf3c324129fe89bdc0713.tar.gz
ENH: Fix PyArray_FillFunc definitions to return an int as per typedef
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/ndarraytypes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/include/numpy/ndarraytypes.h b/numpy/core/include/numpy/ndarraytypes.h
index da006909a..b0b749c80 100644
--- a/numpy/core/include/numpy/ndarraytypes.h
+++ b/numpy/core/include/numpy/ndarraytypes.h
@@ -505,7 +505,8 @@ typedef struct {
PyArray_NonzeroFunc *nonzero;
/*
- * Used for arange.
+ * Used for arange. Should return 0 on success
+ * and -1 on failure.
* Can be NULL.
*/
PyArray_FillFunc *fill;