tinystr.h   tinystr.h 
skipping to change at line 238 skipping to change at line 238
else else
{ {
rep_ = &nullrep_; rep_ = &nullrep_;
} }
} }
void quit() void quit()
{ {
if (rep_ != &nullrep_) if (rep_ != &nullrep_)
{ {
delete [] rep_; // The rep_ is really an array of ints. (see the all
ocator, above).
// Cast it back before delete, so the compiler won't
incorrectly call destructors.
delete [] ( reinterpret_cast<int*>( rep_ ) );
} }
} }
Rep * rep_; Rep * rep_;
static Rep nullrep_; static Rep nullrep_;
} ; } ;
inline bool operator == (const TiXmlString & a, const TiXmlString & b) inline bool operator == (const TiXmlString & a, const TiXmlString & b)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 5 lines changed or added


 tinyxml.h   tinyxml.h 
skipping to change at line 95 skipping to change at line 95
class TiXmlElement; class TiXmlElement;
class TiXmlComment; class TiXmlComment;
class TiXmlUnknown; class TiXmlUnknown;
class TiXmlAttribute; class TiXmlAttribute;
class TiXmlText; class TiXmlText;
class TiXmlDeclaration; class TiXmlDeclaration;
class TiXmlParsingData; class TiXmlParsingData;
const int TIXML_MAJOR_VERSION = 2; const int TIXML_MAJOR_VERSION = 2;
const int TIXML_MINOR_VERSION = 4; const int TIXML_MINOR_VERSION = 4;
const int TIXML_PATCH_VERSION = 1; const int TIXML_PATCH_VERSION = 2;
/* Internal structure for tracking location of items /* Internal structure for tracking location of items
in the XML file. in the XML file.
*/ */
struct TiXmlCursor struct TiXmlCursor
{ {
TiXmlCursor() { Clear(); } TiXmlCursor() { Clear(); }
void Clear() { row = col = -1; } void Clear() { row = col = -1; }
int row; // 0 based. int row; // 0 based.
skipping to change at line 620 skipping to change at line 620
#ifdef TIXML_USE_STL #ifdef TIXML_USE_STL
const TiXmlElement* FirstChildElement( const std::string& _value ) c onst { return FirstChildElement (_value.c_str ()); } ///< STL std::string form. const TiXmlElement* FirstChildElement( const std::string& _value ) c onst { return FirstChildElement (_value.c_str ()); } ///< STL std::string form.
TiXmlElement* FirstChildElement( const std::string& _value ) { return FirstChildElement (_value.c_str ()); } ///< STL std::string form. TiXmlElement* FirstChildElement( const std::string& _value ) { return FirstChildElement (_value.c_str ()); } ///< STL std::string form.
#endif #endif
/** Query the type (as an enumerated value, above) of this node. /** Query the type (as an enumerated value, above) of this node.
The possible types are: DOCUMENT, ELEMENT, COMMENT, The possible types are: DOCUMENT, ELEMENT, COMMENT,
UNKNOWN, TEX T, and DECLARATION. UNKNOWN, TEX T, and DECLARATION.
*/ */
virtual int Type() const { return type; } int Type() const { return type; }
/** Return a pointer to the Document this node lives in. /** Return a pointer to the Document this node lives in.
Returns null if not in a document. Returns null if not in a document.
*/ */
const TiXmlDocument* GetDocument() const; const TiXmlDocument* GetDocument() const;
TiXmlDocument* GetDocument(); TiXmlDocument* GetDocument();
/// Returns true if this node has no children. /// Returns true if this node has no children.
bool NoChildren() const { re turn !firstChild; } bool NoChildren() const { re turn !firstChild; }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/