MCPcopy Create free account
hub / github.com/FastLED/FastLED / clear_io_handlers

Function clear_io_handlers

src/fl/stl/cstdio.cpp.hpp:269–276  ·  view source on GitHub ↗

Clear all injected handlers (restores default behavior)

Source from the content-addressed store, hash-verified

267
268// Clear all injected handlers (restores default behavior)
269void clear_io_handlers() {
270 get_print_handler() = print_handler_t{};
271 get_println_handler() = println_handler_t{};
272 get_available_handler() = available_handler_t{};
273 get_read_handler() = read_handler_t{};
274 get_flush_handler() = flush_handler_t{};
275 get_write_bytes_handler() = write_bytes_handler_t{};
276}
277
278// Clear individual handlers
279void clear_print_handler() {

Callers 3

FL_TEST_FILEFunction · 0.85
FL_TEST_FILEFunction · 0.85
FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected