Skip to content

Commit

Permalink
DOC: Add missing macros to C API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kritisingh1 committed May 12, 2019
1 parent 9050e0b commit a961c82
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions doc/source/reference/c-api.config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,22 @@ Platform information
Returns the endianness of the current platform.
One of :c:data:`NPY_CPU_BIG`, :c:data:`NPY_CPU_LITTLE`,
or :c:data:`NPY_CPU_UNKNOWN_ENDIAN`.


Compiler directives
-------------------

.. c:var:: NPY_LIKELY
.. c:var:: NPY_UNLIKELY
.. c:var:: NPY_UNUSED
Interrupt Handling
------------------

.. c:var:: NPY_INTERRUPT_H
.. c:var:: NPY_SIGSETJMP
.. c:var:: NPY_SIGLONGJMP
.. c:var:: NPY_SIGJMP_BUF
.. c:var:: NPY_SIGINT_ON
.. c:var:: NPY_SIGINT_OFF

0 comments on commit a961c82

Please sign in to comment.