blob: a4ba42e357af042a32aacce3a427612af0e5359a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
from libcpp cimport bool as bool_t
cdef extern from "util/generic/array_ref.h" nogil:
cdef cppclass TArrayRef[T]:
TArrayRef(...)
T& operator[](size_t)
bool_t empty()
T* data()
size_t size()
T* begin()
T* end()
cdef cppclass TConstArrayRef[T]:
TConstArrayRef(...)
const T& operator[](size_t)
bool_t empty()
const T* data()
size_t size()
const T* begin()
const T* end()
|