summaryrefslogtreecommitdiffstats
path: root/CPP/Common/StringToInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Common/StringToInt.h')
-rwxr-xr-xCPP/Common/StringToInt.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/CPP/Common/StringToInt.h b/CPP/Common/StringToInt.h
new file mode 100755
index 0000000..16a1a4f
--- /dev/null
+++ b/CPP/Common/StringToInt.h
@@ -0,0 +1,18 @@
+// 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 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);
+
+#endif
+
+