diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QUtil.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh index 8b2b5ff8..5d33b2a5 100644 --- a/include/qpdf/QUtil.hh +++ b/include/qpdf/QUtil.hh @@ -65,6 +65,13 @@ namespace QUtil QPDF_DLL unsigned int string_to_uint(char const* str); + // Returns true if this exactly represents a long long. The + // determination is made by converting the string to a long long, + // then converting the result back to a string, and then comparing + // that result with the original string. + QPDF_DLL + bool is_long_long(char const* str); + // Pipeline's write method wants unsigned char*, but we often have // some other type of string. These methods do combinations of // const_cast and reinterpret_cast to give us an unsigned char*. |