Parcourir la source

minor api addition from porting xenowar from TinyXML-1 to -2

Lee Thomason il y a 14 ans
Parent
commit
618dbf82c5
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      tinyxml2.h

+ 2 - 0
tinyxml2.h

@@ -498,6 +498,8 @@ public:
 		Add a child node as the last (right) child.
 	*/
 	XMLNode* InsertEndChild( XMLNode* addThis );
+
+	XMLNode* LinkEndChild( XMLNode* addThis )	{ return InsertEndChild( addThis ); }
 	/**
 		Add a child node as the first (left) child.
 	*/