diff options
Diffstat (limited to 'src/headers')
-rw-r--r-- | src/headers/uint64-defs | 8 | ||||
-rw-r--r-- | src/headers/uint64-include | 1 | ||||
-rw-r--r-- | src/headers/uint64-macros | 25 |
3 files changed, 34 insertions, 0 deletions
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 <skalibs/uint64.h> 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 + |