Skip to content

Function Pointer Call

IsaacShelton edited this page Mar 21, 2022 · 1 revision

Function Pointer Call

Function pointers are called by supplying the function pointer with arguments surrounded by parentheses, separated by commas.

my_function_pointer(argument1, argument2, argument3, argumentN)

Argument Passing

Values that have a corresponding __pass__ function, will be passed through __pass__ before the function receives them. The function pointer itself, will never be affected by this.

Result Value

The resulting value is the value returned by the function. If the function returns void, then it cannot be used within an expression, but only as a statement.

Neglected Return Values

If the callee returns a value that is ignored and the ignored value has a __defer__, then the corresponding __defer__ will implicitly be called on the neglected value.

Clone this wiki locally