Add missing functions to smart pointers

This commit is contained in:
Uwe L. Korn committed 2016-06-04 09:35:11 +02:00
1 parent 5706db2f63
commit 066c08afc1
1 file changed
+6
+6
View File
@@ -38,6 +38,11 @@ cdef extern from "<memory>" namespace "std" nogil:
unique_ptr()
unique_ptr(T*)
T* get()
T* release()
void reset()
void reset(nullptr_t)
void reset(T*)
void swap(unique_ptr&)
cdef cppclass shared_ptr[T]:
shared_ptr()
@@ -45,3 +50,4 @@ cdef extern from "<memory>" namespace "std" nogil:
T* get()
void reset()
void reset(T* p)
void swap(shared_ptr&)