misc/libphysfs/lzma/CPP/Common/StringToInt.h
author sheepluva
Sat, 30 Sep 2017 19:51:22 +0200
changeset 12623 2d68c113fc8d
parent 12218 bb5522e88ab2
permissions -rw-r--r--
fix copypasta fail that caused segfaults (esp. in pas2c)

// 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