MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / Putc

Method Putc

3rdparty/tinyxml2/tinyxml2.cpp:2643–2653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2641
2642
2643void XMLPrinter::Putc( char ch )
2644{
2645 if ( _fp ) {
2646 fputc ( ch, _fp);
2647 }
2648 else {
2649 char* p = _buffer.PushArr( sizeof(char) ) - 1; // back up over the null terminator.
2650 p[0] = ch;
2651 p[1] = 0;
2652 }
2653}
2654
2655
2656void XMLPrinter::PrintSpace( int depth )

Callers

nothing calls this directly

Calls 1

PushArrMethod · 0.80

Tested by

no test coverage detected