MCPcopy Create free account
hub / github.com/avast/retdec / Putc

Method Putc

deps/tinyxml2/tinyxml2.cpp:2543–2553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2541
2542
2543void XMLPrinter::Putc( char ch )
2544{
2545 if ( _fp ) {
2546 fputc ( ch, _fp);
2547 }
2548 else {
2549 char* p = _buffer.PushArr( sizeof(char) ) - 1; // back up over the null terminator.
2550 p[0] = ch;
2551 p[1] = 0;
2552 }
2553}
2554
2555
2556void XMLPrinter::PrintSpace( int depth )

Callers

nothing calls this directly

Calls 1

PushArrMethod · 0.80

Tested by

no test coverage detected