Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: third_party/cython/src/Cython/Includes/libcpp/set.pxd

Issue 385073004: Adding cython v0.20.2 in third-party. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reference cython dev list thread. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/cython/src/Cython/Includes/libcpp/set.pxd
diff --git a/third_party/cython/src/Cython/Includes/libcpp/set.pxd b/third_party/cython/src/Cython/Includes/libcpp/set.pxd
new file mode 100644
index 0000000000000000000000000000000000000000..58b1383913ae77887c202341cc6a579ac83442f9
--- /dev/null
+++ b/third_party/cython/src/Cython/Includes/libcpp/set.pxd
@@ -0,0 +1,60 @@
+from pair cimport pair
+
+cdef extern from "<set>" namespace "std":
+ cdef cppclass set[T]:
+ cppclass iterator:
+ T& operator*()
+ iterator operator++() nogil
+ iterator operator--() nogil
+ bint operator==(iterator) nogil
+ bint operator!=(iterator) nogil
+ cppclass reverse_iterator:
+ T& operator*() nogil
+ iterator operator++() nogil
+ iterator operator--() nogil
+ bint operator==(reverse_iterator) nogil
+ bint operator!=(reverse_iterator) nogil
+ #cppclass const_iterator(iterator):
+ # pass
+ #cppclass const_reverse_iterator(reverse_iterator):
+ # pass
+ set() nogil except +
+ set(set&) nogil except +
+ #set(key_compare&)
+ #set& operator=(set&)
+ bint operator==(set&, set&) nogil
+ bint operator!=(set&, set&) nogil
+ bint operator<(set&, set&) nogil
+ bint operator>(set&, set&) nogil
+ bint operator<=(set&, set&) nogil
+ bint operator>=(set&, set&) nogil
+ iterator begin() nogil
+ #const_iterator begin()
+ void clear() nogil
+ size_t count(T&) nogil
+ bint empty() nogil
+ iterator end() nogil
+ #const_iterator end()
+ pair[iterator, iterator] equal_range(T&) nogil
+ #pair[const_iterator, const_iterator] equal_range(T&)
+ void erase(iterator) nogil
+ void erase(iterator, iterator) nogil
+ size_t erase(T&) nogil
+ iterator find(T&) nogil
+ #const_iterator find(T&)
+ pair[iterator, bint] insert(T&) nogil
+ iterator insert(iterator, T&) nogil
+ #void insert(input_iterator, input_iterator)
+ #key_compare key_comp()
+ iterator lower_bound(T&) nogil
+ #const_iterator lower_bound(T&)
+ size_t max_size() nogil
+ reverse_iterator rbegin() nogil
+ #const_reverse_iterator rbegin()
+ reverse_iterator rend() nogil
+ #const_reverse_iterator rend()
+ size_t size() nogil
+ void swap(set&) nogil
+ iterator upper_bound(T&) nogil
+ #const_iterator upper_bound(T&)
+ #value_compare value_comp()
« no previous file with comments | « third_party/cython/src/Cython/Includes/libcpp/queue.pxd ('k') | third_party/cython/src/Cython/Includes/libcpp/stack.pxd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698