### dont_inline

Controls the generation of inline functions.

##### Syntax

#pragma dont_inline on | off | reset

##### Targets

All platforms.

##### Remarks

If you enable this pragma, the compiler does not inline any function calls, even those declared with the inline keyword or within a class declaration. Also, it does not automatically inline functions, regardless of the setting of the pragma auto_inline, described in “auto_inline”. If you disable this pragma, the compiler expands all inline function calls, within the limits you set through other inlining-related pragmas.

This pragma corresponds to the Don’t Inline setting in Inline Depth dropdown menu . To check this setting, use __option (dont_inline), described in Checking Settings. The default setting is off.