summaryrefslogtreecommitdiff
path: root/doc/source/reference/c-api/config.rst
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-10-05 09:03:58 +0300
committerGitHub <noreply@github.com>2020-10-05 09:03:58 +0300
commitcf1306a842d7b1064270bd06951a485121e60816 (patch)
tree8de595ff1f4ad8b8e9e79f1fd63ec8891064d082 /doc/source/reference/c-api/config.rst
parent3f6bb2073418e0ea0d88398e1848e2aa3f1b53eb (diff)
parent37ff6fce0bfdb5df87aafcdd5f38e9ebc5ebe0e6 (diff)
downloadnumpy-cf1306a842d7b1064270bd06951a485121e60816.tar.gz
Merge pull request #17445 from takanori-pskq/i13114-fix-refs-macro
DOC: Fix the references for macros
Diffstat (limited to 'doc/source/reference/c-api/config.rst')
-rw-r--r--doc/source/reference/c-api/config.rst15
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/source/reference/c-api/config.rst b/doc/source/reference/c-api/config.rst
index c3e2c98af..cec5b973a 100644
--- a/doc/source/reference/c-api/config.rst
+++ b/doc/source/reference/c-api/config.rst
@@ -52,12 +52,15 @@ information is available to the pre-processor.
.. c:macro:: NPY_SIZEOF_LONG_DOUBLE
- sizeof(longdouble) (A macro defines **NPY_SIZEOF_LONGDOUBLE** as well.)
+.. c:macro:: NPY_SIZEOF_LONGDOUBLE
+
+ sizeof(longdouble)
.. c:macro:: NPY_SIZEOF_PY_INTPTR_T
- Size of a pointer on this platform (sizeof(void \*)) (A macro defines
- NPY_SIZEOF_INTP as well.)
+.. c:macro:: NPY_SIZEOF_INTP
+
+ Size of a pointer on this platform (sizeof(void \*))
Platform information
@@ -102,6 +105,12 @@ Platform information
One of :c:data:`NPY_CPU_BIG`, :c:data:`NPY_CPU_LITTLE`,
or :c:data:`NPY_CPU_UNKNOWN_ENDIAN`.
+ .. c:macro:: NPY_CPU_BIG
+
+ .. c:macro:: NPY_CPU_LITTLE
+
+ .. c:macro:: NPY_CPU_UNKNOWN_ENDIAN
+
Compiler directives
-------------------