| 347 | extern "C" { |
| 348 | |
| 349 | void ckpt_console_write(const char* data, int len) |
| 350 | { |
| 351 | if (len > 0) { |
| 352 | ScriptConsole::get().write(data, (size_t)len); |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | // newlib spells the length parameter with its own typedef (size_t on both |
| 357 | // toolchains); using the macro keeps the signature funopen wants exactly. |
no test coverage detected