summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lzma/CPP/Common/StringToInt.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/lzma/CPP/Common/StringToInt.h')
-rw-r--r--3rdparty/lzma/CPP/Common/StringToInt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/3rdparty/lzma/CPP/Common/StringToInt.h b/3rdparty/lzma/CPP/Common/StringToInt.h
new file mode 100644
index 00000000000..cd99f17e6a0
--- /dev/null
+++ b/3rdparty/lzma/CPP/Common/StringToInt.h
@@ -0,0 +1,16 @@
+// Common/StringToInt.h
+
+#ifndef __COMMON_STRING_TO_INT_H
+#define __COMMON_STRING_TO_INT_H
+
+#include "Types.h"
+
+UInt64 ConvertStringToUInt64(const char *s, const char **end);
+UInt64 ConvertOctStringToUInt64(const char *s, const char **end);
+UInt64 ConvertHexStringToUInt64(const char *s, const char **end);
+UInt64 ConvertStringToUInt64(const wchar_t *s, const wchar_t **end);
+
+Int64 ConvertStringToInt64(const char *s, const char **end);
+Int64 ConvertStringToInt64(const wchar_t *s, const wchar_t **end);
+
+#endif