From 0663ce532ce87a1f359789fcd04c4eebd7121021 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 2ac81bb968ac..ede50013f682 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) {