__declspec(never_inline)

Specifies that a function must not be inlined.

Syntax
__declspec (never_inline) 
  function_prototype ;
  
Remarks

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