3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-27 06:43:40 +01:00
dft_tools/pytriqs/pxd/shared_ptr.pxd

9 lines
189 B
Cython
Raw Normal View History

cdef extern from "<memory>" namespace "std" :
cdef cppclass shared_ptr "std::shared_ptr" [T] :
shared_ptr(T*)
shared_ptr()
T* get()
void reset (T*)