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

Method to_python

include/win/boost/python/enum.hpp:52–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50// these enums to Python.
51template <class T>
52PyObject* enum_<T>::to_python(void const* x)
53{
54 return base::to_python(
55 converter::registered<T>::converters.m_class_object
56 , static_cast<long>(*(T const*)x));
57}
58
59//
60// The following two static functions serve as the elements of an

Callers 2

operator()Method · 0.80
shared_ptr_to_pythonFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected