diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-03-15 19:59:12 +0300 |
commit | 056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch) | |
tree | 4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/tools/cython/Cython/Includes/Deprecated | |
parent | 269126dcced1cc8b53eb4398b4a33e5142f10290 (diff) | |
download | ydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz |
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/tools/cython/Cython/Includes/Deprecated')
36 files changed, 161 insertions, 0 deletions
diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python.pxd new file mode 100644 index 0000000000..56236e925c --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_bool.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_bool.pxd new file mode 100644 index 0000000000..9a6d253f45 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_bool.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.bool cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_buffer.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_buffer.pxd new file mode 100644 index 0000000000..2baeaae00c --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_buffer.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.buffer cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_bytes.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_bytes.pxd new file mode 100644 index 0000000000..87af662de0 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_bytes.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.bytes cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_cobject.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_cobject.pxd new file mode 100644 index 0000000000..ed32c6b878 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_cobject.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.cobject cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_complex.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_complex.pxd new file mode 100644 index 0000000000..0a780b3b2d --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_complex.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.complex cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_dict.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_dict.pxd new file mode 100644 index 0000000000..05b5f4796a --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_dict.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.dict cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_exc.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_exc.pxd new file mode 100644 index 0000000000..6eb236bccb --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_exc.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.exc cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_float.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_float.pxd new file mode 100644 index 0000000000..7e133ef9bb --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_float.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.float cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_function.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_function.pxd new file mode 100644 index 0000000000..1461c4e635 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_function.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.function cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_getargs.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_getargs.pxd new file mode 100644 index 0000000000..3852d6a6a1 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_getargs.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.getargs cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_instance.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_instance.pxd new file mode 100644 index 0000000000..99cb5a9091 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_instance.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.instance cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_int.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_int.pxd new file mode 100644 index 0000000000..c1fd5178d6 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_int.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.int cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_iterator.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_iterator.pxd new file mode 100644 index 0000000000..e09aad2790 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_iterator.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.iterator cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_list.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_list.pxd new file mode 100644 index 0000000000..64febcf969 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_list.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.list cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_long.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_long.pxd new file mode 100644 index 0000000000..1a24380c4c --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_long.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.long cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_mapping.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_mapping.pxd new file mode 100644 index 0000000000..cd01bee015 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_mapping.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.mapping cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_mem.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_mem.pxd new file mode 100644 index 0000000000..d74429ea36 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_mem.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.mem cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_method.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_method.pxd new file mode 100644 index 0000000000..e7da5154e4 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_method.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.method cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_module.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_module.pxd new file mode 100644 index 0000000000..6310c0247d --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_module.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.module cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_number.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_number.pxd new file mode 100644 index 0000000000..ae67da1c38 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_number.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.number cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_object.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_object.pxd new file mode 100644 index 0000000000..3981bfa44e --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_object.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.object cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_oldbuffer.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_oldbuffer.pxd new file mode 100644 index 0000000000..e03e66a2e2 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_oldbuffer.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.oldbuffer cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_pycapsule.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_pycapsule.pxd new file mode 100644 index 0000000000..fe9cf8f8d9 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_pycapsule.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.pycapsule cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_ref.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_ref.pxd new file mode 100644 index 0000000000..9447418198 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_ref.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.ref cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_sequence.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_sequence.pxd new file mode 100644 index 0000000000..fdef5b63eb --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_sequence.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.sequence cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_set.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_set.pxd new file mode 100644 index 0000000000..a2feb93712 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_set.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.set cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_string.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_string.pxd new file mode 100644 index 0000000000..24c818338e --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_string.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.string cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_tuple.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_tuple.pxd new file mode 100644 index 0000000000..190713b020 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_tuple.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.tuple cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_type.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_type.pxd new file mode 100644 index 0000000000..3ac47d1b3f --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_type.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.type cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_unicode.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_unicode.pxd new file mode 100644 index 0000000000..2b488b2dc8 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_unicode.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.unicode cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_version.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_version.pxd new file mode 100644 index 0000000000..c27ca4df95 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_version.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.version cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/python_weakref.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/python_weakref.pxd new file mode 100644 index 0000000000..1f84f1a179 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/python_weakref.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from cpython.weakref cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/stdio.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/stdio.pxd new file mode 100644 index 0000000000..41a4aebf1d --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/stdio.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from libc.stdio cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/stdlib.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/stdlib.pxd new file mode 100644 index 0000000000..499511cde9 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/stdlib.pxd @@ -0,0 +1,2 @@ +# Present for backwards compatibility +from libc.stdlib cimport * diff --git a/contrib/tools/cython/Cython/Includes/Deprecated/stl.pxd b/contrib/tools/cython/Cython/Includes/Deprecated/stl.pxd new file mode 100644 index 0000000000..22248d2655 --- /dev/null +++ b/contrib/tools/cython/Cython/Includes/Deprecated/stl.pxd @@ -0,0 +1,91 @@ +cdef extern from "<vector>" namespace std: + + cdef cppclass vector[TYPE]: + #constructors + __init__() + __init__(vector&) + __init__(int) + __init__(int, TYPE&) + __init__(iterator, iterator) + #operators + TYPE& __getitem__(int) + TYPE& __setitem__(int, TYPE&) + vector __new__(vector&) + bool __eq__(vector&, vector&) + bool __ne__(vector&, vector&) + bool __lt__(vector&, vector&) + bool __gt__(vector&, vector&) + bool __le__(vector&, vector&) + bool __ge__(vector&, vector&) + #others + void assign(int, TYPE) + #void assign(iterator, iterator) + TYPE& at(int) + TYPE& back() + iterator begin() + int capacity() + void clear() + bool empty() + iterator end() + iterator erase(iterator) + iterator erase(iterator, iterator) + TYPE& front() + iterator insert(iterator, TYPE&) + void insert(iterator, int, TYPE&) + void insert(iterator, iterator) + int max_size() + void pop_back() + void push_back(TYPE&) + iterator rbegin() + iterator rend() + void reserve(int) + void resize(int) + void resize(int, TYPE&) #void resize(size_type num, const TYPE& = TYPE()) + int size() + void swap(container&) + +cdef extern from "<deque>" namespace std: + + cdef cppclass deque[TYPE]: + #constructors + __init__() + __init__(deque&) + __init__(int) + __init__(int, TYPE&) + __init__(iterator, iterator) + #operators + TYPE& operator[]( size_type index ); + const TYPE& operator[]( size_type index ) const; + deque __new__(deque&); + bool __eq__(deque&, deque&); + bool __ne__(deque&, deque&); + bool __lt__(deque&, deque&); + bool __gt__(deque&, deque&); + bool __le__(deque&, deque&); + bool __ge__(deque&, deque&); + #others + void assign(int, TYPE&) + void assign(iterator, iterator) + TYPE& at(int) + TYPE& back() + iterator begin() + void clear() + bool empty() + iterator end() + iterator erase(iterator) + iterator erase(iterator, iterator) + TYPE& front() + iterator insert(iterator, TYPE&) + void insert(iterator, int, TYPE&) + void insert(iterator, iterator, iterator) + int max_size() + void pop_back() + void pop_front() + void push_back(TYPE&) + void push_front(TYPE&) + iterator rbegin() + iterator rend() + void resize(int) + void resize(int, TYPE&) + int size() + void swap(container&) |