Upload 2.0.2
[physicsfs] / lzma / CPP / Common / StringToInt.h
diff --git a/lzma/CPP/Common/StringToInt.h b/lzma/CPP/Common/StringToInt.h
new file mode 100644 (file)
index 0000000..bb971f6
--- /dev/null
@@ -0,0 +1,17 @@
+// Common/StringToInt.h
+
+#ifndef __COMMON_STRINGTOINT_H
+#define __COMMON_STRINGTOINT_H
+
+#include <string.h>
+#include "Types.h"
+
+UInt64 ConvertStringToUInt64(const char *s, const char **end);
+UInt64 ConvertOctStringToUInt64(const char *s, const char **end);
+UInt64 ConvertStringToUInt64(const wchar_t *s, const wchar_t **end);
+
+Int64 ConvertStringToInt64(const char *s, const char **end);
+
+#endif
+
+