diff options
Diffstat (limited to 'zap/source/any/str')
-rw-r--r-- | zap/source/any/str/fmt.cc | 4 | ||||
-rw-r--r-- | zap/source/any/str/fmtlen.cc | 6 | ||||
-rw-r--r-- | zap/source/any/str/numdig.hh | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/zap/source/any/str/fmt.cc b/zap/source/any/str/fmt.cc index b2c0c75..ff6edb1 100644 --- a/zap/source/any/str/fmt.cc +++ b/zap/source/any/str/fmt.cc @@ -4,13 +4,13 @@ If a copy of the MPL was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0>. */ -#include <zap/str.h> +#include <zap/str.hh> #include "numdig.hh" namespace zap { namespace impl { - template<typename signtyp> zap_priv_inln inline static auto fmt(::zap::i02 * buf,signtyp signval,::zap::i8 const bs,::zap::i8 const rtl) noexcept -> void { + template<typename signtyp> zap_attr_iln inline static auto fmt(::zap::i02 * buf,signtyp signval,::zap::i8 const bs,::zap::i8 const rtl) noexcept -> void { using typ = typename ::zap::usign<signtyp>; char32_t const * digs = U"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; if (bs == 0xCu) digs = U"0123456789\u218A\u218B"; diff --git a/zap/source/any/str/fmtlen.cc b/zap/source/any/str/fmtlen.cc index 866d011..b5e508c 100644 --- a/zap/source/any/str/fmtlen.cc +++ b/zap/source/any/str/fmtlen.cc @@ -4,14 +4,14 @@ If a copy of the MPL was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0>. */ -#include <zap/math.h> -#include <zap/str.h> +#include <zap/math.hh> +#include <zap/str.hh> #include "numdig.hh" namespace zap { namespace impl { - template<typename typ> zap_priv_inln inline static auto fmtlen(typ val,::zap::i8 const bs) noexcept -> ::zap::i8 { + template<typename typ> zap_attr_iln inline static auto fmtlen(typ val,::zap::i8 const bs) noexcept -> ::zap::i8 { ::zap::i8 len = 0x0u; if (val < 0x0) { val = static_cast<typ>(::zap::abs(val)); diff --git a/zap/source/any/str/numdig.hh b/zap/source/any/str/numdig.hh index 65756b9..ea36f0b 100644 --- a/zap/source/any/str/numdig.hh +++ b/zap/source/any/str/numdig.hh @@ -2,7 +2,7 @@ namespace zap { namespace impl { - template<typename typ> zap_priv_inln inline static auto numdig(typ fmtval,::zap::i8 const bs) noexcept -> ::zap::i8 { + template<typename typ> zap_attr_iln inline static auto numdig(typ fmtval,::zap::i8 const bs) noexcept -> ::zap::i8 { ::zap::i8 len = 0x0u; if (fmtval == typ {0x0}) return 0x1u; for (typ val = fmtval;val > 0x0;val /= static_cast<typ>(bs)) ++len; |