mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 03:33:50 +01:00
f2c7d449cc
for earlier commits, see TRIQS0.x repository.
16 lines
580 B
Cython
16 lines
580 B
Cython
from libcpp.string cimport string as std_string
|
|
cdef extern from "<triqs/python_tools/inserter_in_map.hpp>" namespace "triqs::python_tools" :
|
|
|
|
cdef cppclass inserter_in_map "triqs::python_tools::inserter_in_map" [T,U] :
|
|
inserter_in_map(T &)
|
|
void operator()(std_string &, U&)
|
|
|
|
cdef cppclass inserter_in_map2 "triqs::python_tools::inserter_in_map2" [T,U] :
|
|
inserter_in_map(T &)
|
|
void operator()(std_string &, object)
|
|
|
|
cdef cppclass printer "triqs::python_tools::printer" [T] :
|
|
printer()
|
|
std_string operator()(T &)
|
|
|