diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-11 17:46:58 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-11 17:46:58 +0000 |
commit | 7e1e6cf1584c5f1c0d6c892d013ed522fb8a8bc1 (patch) | |
tree | 0518ba66d0f3f79776ed82cd87b7128dd329f6da /src/headers | |
parent | 9ec6602c9d3c1a8801d996aa3a56c779ce1c5f70 (diff) | |
download | skalibs-7e1e6cf1584c5f1c0d6c892d013ed522fb8a8bc1.tar.xz |
Better with the new files added >.>
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 + |