Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - when an in-line function is called, the function call may be replaced by the http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
When an in-line function is called, the function call may be replaced by the
in-line expansion for that function.  This in-line expansion may include
calls to other in-line functions which can also be expanded.  The
"inline_depth" pragma can be used to set the number of times this expansion
of in-line functions will occur for a call.

The form of the "inline_depth" pragma is as follows.

+--------------------------------------------------------------------------+
|      #pragma inline_depth [(] n [)] [;]                                  |
|                                                                          |
+--------------------------------------------------------------------------+

where
    description

n
    is the depth of expansion.  If n is 0, no expansion will occur.  If n is
    1, only the original call is expanded.  If n is 2, the original call and
    the in-line functions invoked by the original function will be expanded.
     The default value for n is 3.  The maximum value for n is 255.  Note
    that no expansion of recursive in-line functions occur unless enabled
    using the "inline_recursion" pragma.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson