summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/array.rst
diff options
context:
space:
mode:
authortakanori-pskq <takanori17h@gmail.com>2020-10-15 18:49:16 +0900
committertakanori-pskq <takanori17h@gmail.com>2020-10-15 18:49:16 +0900
commitd87800a3c619a9cd051b5fac63a8486b48fb1c1c (patch)
tree025da639e6391d58d3eef0a17d4d07c9489e55b8 /doc/source/reference/c-api/array.rst
parent99cf84aed1751d4707f6f0c2cb9fcfb460f56ea7 (diff)
downloadnumpy-d87800a3c619a9cd051b5fac63a8486b48fb1c1c.tar.gz
DOC: Add the entry for ``NPY_FEATURE_VERSION``
Diffstat (limited to 'doc/source/reference/c-api/array.rst')
-rw-r--r--doc/source/reference/c-api/array.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/reference/c-api/array.rst b/doc/source/reference/c-api/array.rst
index 637b6aaeb..ff8e911bf 100644
--- a/doc/source/reference/c-api/array.rst
+++ b/doc/source/reference/c-api/array.rst
@@ -3443,6 +3443,11 @@ Other constants
variable is defined to guarantee the numpy/arrayobject.h header is
being used).
+.. c:macro:: NPY_FEATURE_VERSION
+
+ The current version of the API. :c:data:`NPY_FEATURE_VERSION` changes
+ whenever the API changes (e.g. a function is added).
+
.. c:macro:: NPY_FALSE
Defined as 0 for use with Bool.