3
0
mirror of https://github.com/triqs/dft_tools synced 2024-12-25 22:03:43 +01:00
dft_tools/pytriqs/pxd/shared_ptr.pxd
Olivier Parcollet f2c7d449cc First commit : triqs libs version 1.0 alpha1
for earlier commits, see TRIQS0.x repository.
2013-07-17 19:24:07 +02:00

9 lines
189 B
Cython

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