Commit 60ecb958 authored by Martin Quarda's avatar Martin Quarda

Added definition for data and shrink_to_fit c++11 vector methods

parent ecca40fe
...@@ -70,3 +70,7 @@ cdef extern from "<vector>" namespace "std": ...@@ -70,3 +70,7 @@ cdef extern from "<vector>" namespace "std":
void resize(size_t, T&) nogil void resize(size_t, T&) nogil
size_t size() nogil size_t size() nogil
void swap(vector&) nogil void swap(vector&) nogil
#C++0x methods
T* data() nogil
void shrink_to_fit()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment