Microsoft Specific —>
The __inline keyword tells the compiler to substitute the code within the function definition for every instance of a function call. However, substitution occurs only at the compiler’s discretion. For example, the compiler does not inline a function if its address is taken or if it is too large to inline.
For a function to be considered as a candidate for inlining, it must use the new-style function definition.
Use this form to specify an inline function:
__inline type opt function-definition;
The use of inline functions generates faster code and can sometimes generate smaller code than the equivalent function call generates for the following reasons:
Functions using __inline should not be confused with inline assembler code. See Inline Assembler for more information.
END Microsoft Specific