| 1602 | |
| 1603 | |
| 1604 | XMLComment* XMLDocument::NewComment( const char* str ) { |
| 1605 | TIXMLASSERT( sizeof( XMLComment ) == _commentPool.ItemSize() ); |
| 1606 | XMLComment* comment = new (_commentPool.Alloc()) XMLComment( this ); |
| 1607 | comment->_memPool = &_commentPool; |
| 1608 | comment->SetValue( str ); |
| 1609 | return comment; |
| 1610 | } |
| 1611 | |
| 1612 | |
| 1613 | XMLText* XMLDocument::NewText( const char* str ) { |
no test coverage detected