| 240 | } |
| 241 | |
| 242 | bha::integer<>* integer_init(int lower, int upper, bp::str pylabel, bool with_uoflow) { |
| 243 | using namespace ::boost::python; |
| 244 | const auto uo = with_uoflow ? bha::uoflow_type::on : bha::uoflow_type::off; |
| 245 | return new bha::integer<>( |
| 246 | lower, upper, |
| 247 | {extract<const char*>(pylabel)(), static_cast<std::size_t>(bp::len(pylabel))}, uo); |
| 248 | } |
| 249 | |
| 250 | void register_axis_types() { |
| 251 | using namespace ::boost::python; |
nothing calls this directly
no outgoing calls
no test coverage detected