Quellcode durchsuchen

Merge pull request #459 from Elbrasch/master

Added void XMLPrinter::PushText( int64_t value ), which was declared …
Lee Thomason vor 9 Jahren
Ursprung
Commit
75c8f40640
1 geänderte Dateien mit 7 neuen und 0 gelöschten Zeilen
  1. 7 0
      tinyxml2.cpp

+ 7 - 0
tinyxml2.cpp

@@ -2398,6 +2398,13 @@ void XMLPrinter::PushText( const char* text, bool cdata )
     }
 }
 
+void XMLPrinter::PushText( int64_t value )
+{
+    char buf[BUF_SIZE];
+    XMLUtil::ToStr( value, buf, BUF_SIZE );
+    PushText( buf, false );
+}
+
 void XMLPrinter::PushText( int value )
 {
     char buf[BUF_SIZE];