| 2830 | } |
| 2831 | |
| 2832 | void rcli_set_state_callback(RCLIHandle handle, RCLIStateCallback cb, void* user_data) { |
| 2833 | if (!handle) return; |
| 2834 | auto* engine = static_cast<RCLIEngine*>(handle); |
| 2835 | engine->state_cb = cb; |
| 2836 | engine->state_ud = user_data; |
| 2837 | } |
| 2838 | |
| 2839 | void rcli_set_action_callback(RCLIHandle handle, RCLIActionCallback cb, void* user_data) { |
| 2840 | if (!handle) return; |
no outgoing calls
no test coverage detected