MCPcopy Create free account
hub / github.com/crossuo/crossuo / Putc

Method Putc

external/tinyxml2.cpp:2590–2600  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2588
2589
2590void XMLPrinter::Putc( char ch )
2591{
2592 if ( _fp ) {
2593 fputc ( ch, _fp);
2594 }
2595 else {
2596 char* p = _buffer.PushArr( sizeof(char) ) - 1; // back up over the null terminator.
2597 p[0] = ch;
2598 p[1] = 0;
2599 }
2600}
2601
2602
2603void XMLPrinter::PrintSpace( int depth )

Callers

nothing calls this directly

Calls 1

PushArrMethod · 0.80

Tested by

no test coverage detected