MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / to_python_converter

Method to_python_converter

include/win/boost/python/to_python_converter.hpp:76–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74
75template <class T, class Conversion ,bool has_get_pytype>
76to_python_converter<T,Conversion, has_get_pytype>::to_python_converter()
77{
78 typedef converter::as_to_python_function<
79 T, Conversion
80 > normalized;
81
82 converter::registry::insert(
83 &normalized::convert
84 , type_id<T>()
85#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
86 , &get_pytype_impl
87#endif
88 );
89}
90
91}} // namespace boost::python
92

Callers

nothing calls this directly

Calls 1

insertFunction · 0.70

Tested by

no test coverage detected