Skip to content

inlining

starkos edited this page Apr 10, 2021 · 2 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Tells the compiler when it should inline functions.

inlining ("value")

Parameters

value is one of:

Default Allow the compiler to use its default inlining behavior.
Disabled Turn off inlining entirely.
Explicit Only inline functions explicitly marked with the inline keyword.
Auto Allow the compiler to inline functions automatically.

More values may be added by add-on modules.

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Clone this wiki locally