diff options
| author | Brad King <brad.king@kitware.com> | 2022-09-20 19:17:16 (GMT) |
|---|---|---|
| committer | Brad King <brad.king@kitware.com> | 2022-09-20 19:17:16 (GMT) |
| commit | 22280bce616d0291827c109cd361de3fd4965e29 (patch) | |
| tree | 97829920132f02dad0a2c92d40b5cceda421d2e7 /Source/cmStringAlgorithms.h | |
| parent | 5d80d7cb6a76e92ac5b0fa5352cdda64415124b7 (diff) | |
| parent | 8fc822e13a8bf8695e475655f647d5d69f99c414 (diff) | |
| download | CMake-22280bce616d0291827c109cd361de3fd4965e29.zip CMake-22280bce616d0291827c109cd361de3fd4965e29.tar.gz CMake-22280bce616d0291827c109cd361de3fd4965e29.tar.bz2 | |
Merge branch 'parse-large-int' into release-3.23
Merge-request: !7698
Diffstat (limited to 'Source/cmStringAlgorithms.h')
| -rw-r--r-- | Source/cmStringAlgorithms.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmStringAlgorithms.h b/Source/cmStringAlgorithms.h index 492e588..83938bc 100644 --- a/Source/cmStringAlgorithms.h +++ b/Source/cmStringAlgorithms.h @@ -303,3 +303,13 @@ bool cmStrToLong(std::string const& str, long* value); * integer */ bool cmStrToULong(const char* str, unsigned long* value); bool cmStrToULong(std::string const& str, unsigned long* value); + +/** Converts a string to long long. Expects that the whole string + * is an integer */ +bool cmStrToLongLong(const char* str, long long* value); +bool cmStrToLongLong(std::string const& str, long long* value); + +/** Converts a string to unsigned long long. Expects that the whole string + * is an integer */ +bool cmStrToULongLong(const char* str, unsigned long long* value); +bool cmStrToULongLong(std::string const& str, unsigned long long* value); |
