Class CompilerEnvironment()->define


Variable flags

CppMacroFlags CompilerEnvironment.define.flags

Note

Read only.


Variable name

string CompilerEnvironment.define.name

Description

Macro name.


Variable num_args

int(-1..) CompilerEnvironment.define.num_args

Description

Number of arguments for macro (if any).

-1 if the macro is not a function-style macro. Otherwise the minimum number of expected arguments.

Note

Read only.


Variable parts

array(string|CppDefArgFlags|function(mixed ... :string))|zero CompilerEnvironment.define.parts

Description

Macro expansion rule.


Method create

CompilerEnvironment.define CompilerEnvironment.define(string name, int num_args, array(string|CppDefArgFlags|function(mixed|void ... :string)) parts)