| 324 | #endif |
| 325 | |
| 326 | void py_context::py_send_exit(const py::args &xs) { |
| 327 | if (xs.size() < 1) { |
| 328 | set_py_exception("Too few arguments to call CAF.send_exit"); |
| 329 | return; |
| 330 | } |
| 331 | auto i = xs.begin(); |
| 332 | auto dest = (*i).cast<actor>(); |
| 333 | ++i; |
| 334 | self_->send_exit(dest, caf::exit_reason::user_shutdown); |
| 335 | } |
| 336 | |
| 337 | py::tuple py_context::tuple_from_message( |
| 338 | const message_id mid, const strong_actor_ptr sender, const message &msg) { |
nothing calls this directly
no test coverage detected