Ver Fonte

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

Lee Thomason há 14 anos atrás
pai
commit
618dbf82c5
1 ficheiros alterados com 2 adições e 0 exclusões
  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.
 	*/