gml_pragma

Set the YYC target to compile using the given command.

Syntax:

gml_pragma(command);


Argument Description
command A string with one of the commands listed below.


Returns: N/A


Description

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:


Example:

gml_pragma("forceinline");

The above example code will force the script where it is used to be inlined on compile.


Back: Miscellaneous
Next: parameter_count
© Copyright YoYo Games Ltd. 2015 All Rights Reserved