浏览代码

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

Stefan Asbeck 9 年之前
父节点
当前提交
e1a82c1a50
共有 1 个文件被更改,包括 7 次插入0 次删除
  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];