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

Method PushComment

Dependencies/tinyxml2/src/tinyxml2.cpp:2730–2742  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2728
2729
2730void XMLPrinter::PushComment( const char* comment )
2731{
2732 SealElementIfJustOpened();
2733 if ( _textDepth < 0 && !_firstElement && !_compactMode) {
2734 Putc( '\n' );
2735 PrintSpace( _depth );
2736 }
2737 _firstElement = false;
2738
2739 Write( "<!--" );
2740 Write( comment );
2741 Write( "-->" );
2742}
2743
2744
2745void XMLPrinter::PushDeclaration( const char* value )

Callers

nothing calls this directly

Calls 1

WriteFunction · 0.85

Tested by

no test coverage detected