MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / ckpt_console_write

Function ckpt_console_write

common/script/scriptconsole.cpp:349–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347extern "C" {
348
349void 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.

Callers 1

PlatformPutcFunction · 0.85

Calls 2

getFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected