| 1739 | |
| 1740 | |
| 1741 | XMLComment* XMLDocument::NewComment( const char* str ) |
| 1742 | { |
| 1743 | TIXMLASSERT( sizeof( XMLComment ) == _commentPool.ItemSize() ); |
| 1744 | XMLComment* comment = new (_commentPool.Alloc()) XMLComment( this ); |
| 1745 | comment->_memPool = &_commentPool; |
| 1746 | comment->SetValue( str ); |
| 1747 | return comment; |
| 1748 | } |
| 1749 | |
| 1750 | |
| 1751 | XMLText* XMLDocument::NewText( const char* str ) |
no test coverage detected