MCPcopy Create free account
hub / github.com/Norbyte/bg3se / NewComment

Method NewComment

CoreLib/tinyxml2.cpp:2247–2252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2245
2246
2247XMLComment* XMLDocument::NewComment( const char* str )
2248{
2249 XMLComment* comment = CreateUnlinkedNode<XMLComment>( _commentPool );
2250 comment->SetValue( str );
2251 return comment;
2252}
2253
2254
2255XMLText* XMLDocument::NewText( const char* str )

Callers 2

ShallowCloneMethod · 0.45
InsertNewCommentMethod · 0.45

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected