Interface __finline__

Preprocessor macro expanding to a type attribute

#include <SYS/TYPES.H>

static __finline__ type function(args...)

Description

This macro expands to a compiler-specific attribute telling that the function is forced inline. When using the inline keyword, the compiler may decide if it wants to inline the function or not (it decides according to function complexity or other function calls made from this functions). __finline__ will expand to a compiler-specific attribute forcing the compiler to inline the function.

Implementation note

On gcc compiler, this macro expands to __inline__ on older versions and to __attribute((__always_inline__)) on newer versions of gcc.

See also

__is_constant