File: numpy_common.pxi

package info (click to toggle)
pyfai 0.20.0%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 78,460 kB
  • sloc: python: 49,743; lisp: 7,059; sh: 225; ansic: 165; makefile: 119
file content (11 lines) | stat: -rw-r--r-- 252 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
# hack to avoid C compiler warnings about unused functions in the NumPy header files
# Sources: Cython test suite.

cdef extern from *:
    bint FALSE "0"
    void import_array()
    void import_umath()

if FALSE:
    import_array()
    import_umath()