| 698 | |
| 699 | |
| 700 | bool XMLUtil::ToUnsigned64(const char* str, uint64_t* value) { |
| 701 | unsigned long long v = 0; // horrible syntax trick to make the compiler happy about %llu |
| 702 | if(TIXML_SSCANF(str, IsPrefixHex(str) ? "%llx" : "%llu", &v) == 1) { |
| 703 | *value = (uint64_t)v; |
| 704 | return true; |
| 705 | } |
| 706 | return false; |
| 707 | } |
| 708 | |
| 709 | |
| 710 | char* XMLDocument::Identify( char* p, XMLNode** node ) |
nothing calls this directly
no test coverage detected