Explorar o código

Added void XMLPrinter::PushText( int64_t value ), which was declared but not implemented.

Stefan Asbeck %!s(int64=9) %!d(string=hai) anos
pai
achega
e1a82c1a50
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      tinyxml2.cpp

+ 7 - 0
tinyxml2.cpp

@@ -2397,6 +2397,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];