From 7e1e6cf1584c5f1c0d6c892d013ed522fb8a8bc1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 11 Jul 2019 17:46:58 +0000 Subject: Better with the new files added >.> --- src/headers/uint64-defs | 8 ++++++++ src/headers/uint64-include | 1 + src/headers/uint64-macros | 25 +++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 src/headers/uint64-defs create mode 100644 src/headers/uint64-include create mode 100644 src/headers/uint64-macros (limited to 'src/headers') diff --git a/src/headers/uint64-defs b/src/headers/uint64-defs new file mode 100644 index 0000000..551a382 --- /dev/null +++ b/src/headers/uint64-defs @@ -0,0 +1,8 @@ + +extern size_t uint64_fmt_generic (char *, uint64_t, uint8_t) ; +extern size_t uint640_fmt_generic (char *, uint64_t, size_t, uint8_t) ; +extern size_t int64_fmt_generic (char *, int64_t, uint8_t) ; + +extern size_t uint64_scan_base_max (char const *, uint64_t *, uint8_t, uint64_t) ; +extern size_t int64_scan_base_max (char const *, int64_t *, uint8_t, uint64_t) ; + diff --git a/src/headers/uint64-include b/src/headers/uint64-include new file mode 100644 index 0000000..12a0936 --- /dev/null +++ b/src/headers/uint64-include @@ -0,0 +1 @@ +#include diff --git a/src/headers/uint64-macros b/src/headers/uint64-macros new file mode 100644 index 0000000..c186f07 --- /dev/null +++ b/src/headers/uint64-macros @@ -0,0 +1,25 @@ + +#ifndef INT_LEAST64_MIN +# define INT_LEAST64_MIN INT64_MIN +#endif + +#ifndef INT_FAST64_MIN +# define INT_FAST64_MIN INT64_MIN +#endif + +#ifndef INT_LEAST64_MAX +# define INT_LEAST64_MAX INT64_MAX +#endif + +#ifndef INT_FAST64_MAX +# define INT_FAST64_MAX INT64_MAX +#endif + +#ifndef UINT_LEAST64_MAX +# define UINT_LEAST64_MAX UINT64_MAX +#endif + +#ifndef UINT_FAST64_MAX +# define UINT_FAST64_MAX UINT64_MAX +#endif + -- cgit v1.2.3