MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / Putc

Method Putc

native/thirdpart/tinyxml2/tinyxml2.cpp:2610–2620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2608
2609
2610void XMLPrinter::Putc( char ch )
2611{
2612 if ( _fp ) {
2613 fputc ( ch, _fp);
2614 }
2615 else {
2616 char* p = _buffer.PushArr( sizeof(char) ) - 1; // back up over the null terminator.
2617 p[0] = ch;
2618 p[1] = 0;
2619 }
2620}
2621
2622
2623void XMLPrinter::PrintSpace( int depth )

Callers

nothing calls this directly

Calls 1

PushArrMethod · 0.80

Tested by

no test coverage detected