MCPcopy Create free account
hub / github.com/cvanaret/Uno / overflow

Method overflow

interfaces/Python/cpp_classes/PythonStreamBuffer.cpp:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 int PythonStreamBuffer::overflow(int c) {
18 if (c != EOF) {
19 this->write_function(std::string(1, static_cast<char>(c)));
20 }
21 return c;
22 }
23
24 int PythonStreamBuffer::sync() {
25 this->flush_function();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected