From e1a82c1a500e8b558c938016ba40e96e43f04aaa Mon Sep 17 00:00:00 2001 From: Stefan Asbeck Date: Thu, 4 Aug 2016 09:12:45 +0200 Subject: [PATCH] Added void XMLPrinter::PushText( int64_t value ), which was declared but not implemented. --- tinyxml2.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tinyxml2.cpp b/tinyxml2.cpp index 9d6be5c..c74950f 100755 --- a/tinyxml2.cpp +++ b/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];