python-cnorxz/cnorxz/core/range.pxd
Christian Zimmermann c155319b59 rename base -> core
2023-05-22 22:46:29 +02:00

11 lines
341 B
Cython

from libcpp.memory cimport shared_ptr
from array cimport cpp_MArray
from range cimport cpp_RangeBase
cdef extern from "ranges/ranges.h" namespace "CNORXZ":
cdef cppclass cpp_RangeBase "CNORXZ::RangeBase":
size_t size() except +
size_t dim() except +
cpp_MArray[shared_ptr[cpp_RangeBase]] sub() except+