python-cnorxz/cnorxz/base/range.pxd

12 lines
341 B
Cython
Raw Normal View History

2023-02-22 01:04:45 +01:00
from libcpp.memory cimport shared_ptr
2023-05-08 22:28:31 +02:00
from array cimport cpp_MArray
from range cimport cpp_RangeBase
2023-02-22 01:04:45 +01:00
cdef extern from "ranges/ranges.h" namespace "CNORXZ":
cdef cppclass cpp_RangeBase "CNORXZ::RangeBase":
size_t size() except +
size_t dim() except +
2023-05-08 22:28:31 +02:00
cpp_MArray[shared_ptr[cpp_RangeBase]] sub() except+
2023-05-07 21:28:30 +02:00