| 2341 | } |
| 2342 | |
| 2343 | const char* rcli_get_interrupted_response(RCLIHandle handle) { |
| 2344 | if (!handle) return ""; |
| 2345 | auto* engine = static_cast<RCLIEngine*>(handle); |
| 2346 | // Store in a thread-local buffer so the pointer survives the call |
| 2347 | static thread_local std::string buf; |
| 2348 | buf = engine->pipeline.interrupted_response(); |
| 2349 | return buf.c_str(); |
| 2350 | } |
| 2351 | |
| 2352 | // ============================================================================= |
| 2353 | // File Pipeline (iOS, testing) |
nothing calls this directly
no test coverage detected