summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/fastlog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-10-17 10:02:11 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-10-17 10:02:11 -0400
commit24d2b5ec9200bf46ccb42528560de4a02b7be516 (patch)
treeec907784203f04be02cc6410a3e8cb5d6c55c2ab /libs/pbd/pbd/fastlog.h
parenta7f156e005cd6f40ddd99eec394e0db51a62ae7c (diff)
add export visibility macros across libardour
Diffstat (limited to 'libs/pbd/pbd/fastlog.h')
-rw-r--r--libs/pbd/pbd/fastlog.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/pbd/pbd/fastlog.h b/libs/pbd/pbd/fastlog.h
index e8aef4119d..21cbfbdce2 100644
--- a/libs/pbd/pbd/fastlog.h
+++ b/libs/pbd/pbd/fastlog.h
@@ -12,7 +12,7 @@ as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
#include "pbd/libpbd_visibility.h"
-LIBPBD_API static inline float fast_log2 (float val)
+static inline float fast_log2 (float val)
{
/* don't use reinterpret_cast<> because that prevents this
from being used by pure C code (for example, GnomeCanvasItems)
@@ -31,16 +31,16 @@ LIBPBD_API static inline float fast_log2 (float val)
return (val + log_2);
}
-LIBPBD_API static inline float fast_log (const float val)
+static inline float fast_log (const float val)
{
return (fast_log2 (val) * 0.69314718f);
}
-LIBPBD_API static inline float fast_log10 (const float val)
+static inline float fast_log10 (const float val)
{
return fast_log2(val) / 3.312500f;
}
-LIBPBD_API static inline float minus_infinity(void) { return -HUGE_VAL; }
+static inline float minus_infinity(void) { return -HUGE_VAL; }
#endif /* __pbd_fastlog_h__ */