commit | effdf95f8c3eadf97b816cecdb4d49df9b585d86 | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Sat Aug 10 17:49:42 2019 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Sat Aug 10 17:49:42 2019 -0700 |
tree | cb0efafcecdb9de2bc1920dee964e8dfd0c25857 | |
parent | c36d59f6b5679c88862f7fd834843010fd05b1df [diff] [blame] |
add test cases
diff --git a/tinyxml2.cpp b/tinyxml2.cpp index b1259dc..2622dd3 100755 --- a/tinyxml2.cpp +++ b/tinyxml2.cpp
@@ -1494,6 +1494,12 @@ _value.SetStr(buf); } +void XMLAttribute::SetAttribute(uint64_t v) +{ + char buf[BUF_SIZE]; + XMLUtil::ToStr(v, buf, BUF_SIZE); + _value.SetStr(buf); +} void XMLAttribute::SetAttribute( bool v )