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

12 lines
487 B
Cython

from libcpp.memory cimport shared_ptr
from range cimport cpp_RangeBase
cdef extern from "ranges/ranges.h" namespace "CNORXZ":
cdef cppclass cpp_RangeFactoryBase "CNORXZ::RangeFactoryBase":
shared_ptr[cpp_RangeBase] create() except +
cdef extern from "ranges/ranges.h" namespace "CNORXZ":
cdef cppclass cpp_CRangeFactory "CNORXZ::CRangeFactory" (cpp_RangeFactoryBase):
cpp_CRangeFactory(size_t size) except +
shared_ptr[cpp_RangeBase] create() except +