-
-
Notifications
You must be signed in to change notification settings - Fork 479
Expand file tree
/
Copy pathmultimap.pxd
More file actions
22 lines (19 loc) · 770 Bytes
/
multimap.pxd
File metadata and controls
22 lines (19 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
# License: New BSD License.
# Website: http://code.google.com/p/cefpython/
from libcpp.utility cimport pair
# Copied from: Cython/Includes/libcpp/map.pxd
cdef extern from "<map>" namespace "std":
cdef cppclass multimap[T, U]:
cppclass iterator:
pair[T, U]& operator*() nogil
iterator operator++() nogil
iterator operator--() nogil
bint operator==(iterator) nogil
bint operator!=(iterator) nogil
multimap() nogil except +
U& operator[](T&) nogil
iterator begin() nogil
iterator end() nogil
pair[iterator, bint] insert(pair[T, U]) nogil # XXX pair[T,U]&
iterator find(T&) nogil