mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Add missing functions to smart pointers
This commit is contained in:
1 parent
5706db2f63
commit
066c08afc1
1 file changed
+6
@@ -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&)
|
||||
Reference in new issue
Block a user