__attribute__((never_inline))

Specifies that a function must not be inlined.

Syntax
__attribute__((never_inline)) function_prototype ;
  
Remarks

Declaring a function's prototype with this attribute tells the compiler not to inline the function, even if the function is later defined with the inline , __inline__ , or __inline keywords.