|command||A string with one of the commands listed below.|
The gml_pragma function affects how the YYC target compiles your code and should be called with the different commands to further optimise the final compilation of your project. The available commands are as follows:
- "forceinline" - When the function is called in a script resource using this command, the YYC will compile the project with the script inline, rather than referenced. This will give a further processing boost, but care must be taken when using it as it will also inflate the final executable file size, especially if the inlined code is large and/or used in multiple different places.
The above example code will force the script where it is used to be inlined on compile.