MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / Putc

Method Putc

Dependencies/tinyxml2/src/tinyxml2.cpp:2470–2480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2468
2469
2470void XMLPrinter::Putc( char ch )
2471{
2472 if ( _fp ) {
2473 fputc ( ch, _fp);
2474 }
2475 else {
2476 char* p = _buffer.PushArr( sizeof(char) ) - 1; // back up over the null terminator.
2477 p[0] = ch;
2478 p[1] = 0;
2479 }
2480}
2481
2482
2483void XMLPrinter::PrintSpace( int depth )

Callers

nothing calls this directly

Calls 1

PushArrMethod · 0.80

Tested by

no test coverage detected