From aa3b01a556a60ce09123e93263642193da86982b Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Feb 2019 15:52:03 +0100 Subject: compat/macros: remove prefix Let's not be concerned about global namespace pollution. These identifiers aren't exposed in the api/ directory. --- logic/pipeline.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'logic') diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index 81ee05b2..bc8026ed 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -217,7 +217,7 @@ static inline bool is_nan(const dmat& r) return false; } -static cc_noinline +static never_inline void emit_nan_check_msg(const char* text, const char* fun, int line) { eval_once( @@ -229,7 +229,7 @@ void emit_nan_check_msg(const char* text, const char* fun, int line) } template -static cc_noinline +static never_inline bool maybe_nan(const char* text, const char* fun, int line, const xs&... vals) { bool ret = (is_nan(vals) || ... || false); @@ -243,7 +243,7 @@ bool maybe_nan(const char* text, const char* fun, int line, const xs&... vals) #define nan_check(...) \ do \ { \ - if (likely(!maybe_nan(#__VA_ARGS__, cc_function_name, __LINE__, __VA_ARGS__))) \ + if (likely(!maybe_nan(#__VA_ARGS__, function_name, __LINE__, __VA_ARGS__))) \ (void)0; \ else \ goto error; \ -- cgit v1.2.3