diff options
author | Martin Quarda <hinogary@gmail.com> | 2014-02-26 10:15:53 +0100 |
---|---|---|
committer | Martin Quarda <hinogary@gmail.com> | 2014-02-26 15:15:04 +0100 |
commit | 60ecb95877b9b62e90cef91d37870abbf024ad6d (patch) | |
tree | 4074f933085e01a13c2275bb9a66c39d6c178712 | |
parent | ecca40fea21c9110f103440b0476ec25e43c98e0 (diff) | |
download | cython-60ecb95877b9b62e90cef91d37870abbf024ad6d.tar.gz |
Added definition for data and shrink_to_fit c++11 vector methods
-rw-r--r-- | Cython/Includes/libcpp/vector.pxd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Cython/Includes/libcpp/vector.pxd b/Cython/Includes/libcpp/vector.pxd index 1bfb500ac..7e6bf084d 100644 --- a/Cython/Includes/libcpp/vector.pxd +++ b/Cython/Includes/libcpp/vector.pxd @@ -70,3 +70,7 @@ cdef extern from "<vector>" namespace "std": void resize(size_t, T&) nogil size_t size() nogil void swap(vector&) nogil + + #C++0x methods + T* data() nogil + void shrink_to_fit() |