From c99a259739930cda9532d1f0c58f8ac25bc54eac Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sat, 14 Jul 2018 06:42:24 -0700 Subject: [PATCH] Mark new functions with FMT_API (#808) --- include/fmt/format.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 2ac81bb9..ede50013 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -348,11 +348,11 @@ inline fp operator-(fp x, fp y) { // Computes an fp number r with r.f = x.f * y.f / pow(2, 64) rounded to nearest // with half-up tie breaking, r.e = x.e + y.e + 64. Result may not be normalized. -fp operator*(fp x, fp y); +FMT_API fp operator*(fp x, fp y); // Returns cached power (of 10) c_k = c_k.f * pow(2, c_k.e) such that its // (binary) exponent satisfies min_exponent <= c_k.e <= min_exponent + 3. -fp get_cached_power(int min_exponent, int &pow10_exponent); +FMT_API fp get_cached_power(int min_exponent, int &pow10_exponent); template typename Allocator::value_type *allocate(Allocator& alloc, std::size_t n) {