diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/tools/cython/Cython/Includes/libcpp/deque.pxd | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/libcpp/deque.pxd')
-rw-r--r-- | contrib/tools/cython/Cython/Includes/libcpp/deque.pxd | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/tools/cython/Cython/Includes/libcpp/deque.pxd b/contrib/tools/cython/Cython/Includes/libcpp/deque.pxd index 9b5ba89ae3..9e2b2291d0 100644 --- a/contrib/tools/cython/Cython/Includes/libcpp/deque.pxd +++ b/contrib/tools/cython/Cython/Includes/libcpp/deque.pxd @@ -1,11 +1,11 @@ cdef extern from "<deque>" namespace "std" nogil: - cdef cppclass deque[T,ALLOCATOR=*]: + cdef cppclass deque[T,ALLOCATOR=*]: ctypedef T value_type ctypedef ALLOCATOR allocator_type # these should really be allocator_type.size_type and # allocator_type.difference_type to be true to the C++ definition - # but cython doesn't support deferred access on template arguments + # but cython doesn't support deferred access on template arguments ctypedef size_t size_type ctypedef ptrdiff_t difference_type @@ -35,8 +35,8 @@ cdef extern from "<deque>" namespace "std" nogil: bint operator>(reverse_iterator) bint operator<=(reverse_iterator) bint operator>=(reverse_iterator) - cppclass const_iterator(iterator): - pass + cppclass const_iterator(iterator): + pass cppclass const_reverse_iterator(reverse_iterator): pass deque() except + @@ -57,11 +57,11 @@ cdef extern from "<deque>" namespace "std" nogil: T& at(size_t) T& back() iterator begin() - const_iterator const_begin "begin"() + const_iterator const_begin "begin"() void clear() bint empty() iterator end() - const_iterator const_end "end"() + const_iterator const_end "end"() iterator erase(iterator) iterator erase(iterator, iterator) T& front() @@ -81,6 +81,6 @@ cdef extern from "<deque>" namespace "std" nogil: void resize(size_t, T&) size_t size() void swap(deque&) - - # C++11 methods - void shrink_to_fit() + + # C++11 methods + void shrink_to_fit() |