>>-#--pragma--inline--(--function_name--)----------------------><
Description
The #pragma inline directive specifies that function_name is to be inlined. The pragma can appear anywhere in the source, but must be at file scope. The pragma has no effect if the INLINE(*ON) parameter is not specified on the Create Module or Create Bound Program commands. If #pragma inline is specified for a function, the inliner will force the function specified to be inlined on every call. The function will be inlined in both selective (*NOAUTO) and automatic (*AUTO) INLINE mode.
Inlining replaces function calls with the actual code of the function. It reduces function call overhead, and exposes more code to the optimizer, allowing more opportunities for optimization.
Notes on Usage
This action can decrease the size of the module and program object where the function is used.
See the "Function Call Performance" in the WebSphere Development Studio: ILE C/C++ Programmer's Guide for more information on function inlining.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.