| 229 | } |
| 230 | |
| 231 | bha::regular<bha::transform::pow>* regular_pow_init(unsigned bin, double lower, |
| 232 | double upper, double power, |
| 233 | bp::str pylabel, bool with_uoflow) { |
| 234 | using namespace ::boost::python; |
| 235 | const auto uo = with_uoflow ? bha::uoflow_type::on : bha::uoflow_type::off; |
| 236 | return new bha::regular<bha::transform::pow>( |
| 237 | bin, lower, upper, |
| 238 | {extract<const char*>(pylabel)(), static_cast<std::size_t>(bp::len(pylabel))}, uo, |
| 239 | power); |
| 240 | } |
| 241 | |
| 242 | bha::integer<>* integer_init(int lower, int upper, bp::str pylabel, bool with_uoflow) { |
| 243 | using namespace ::boost::python; |
nothing calls this directly
no outgoing calls
no test coverage detected