File: _compat.pxd

package info (click to toggle)
python-pyproj 3.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,720 kB
  • sloc: python: 13,468; sh: 273; makefile: 90
file content (10 lines) | stat: -rw-r--r-- 283 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
cdef str cstrdecode(const char *instring)
cpdef bytes cstrencode(str pystr)

IF CTE_PYTHON_IMPLEMENTATION == "CPython":
    from cpython cimport array
    cdef array.array empty_array(int npts)

ELSE:
    # https://github.com/pyproj4/pyproj/issues/854
    cdef empty_array(int npts)