Constructor

GomFunctionExpressionnew

Declaration

GomExpression*
gom_function_expression_new (
  const char* name,
  GomExpression** arguments,
  gsize n_arguments
)

Description

Creates a function expression.

Parameters

name

Type: const char*

The function name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
arguments

Type: An array of None

Arguments.

The argument can be NULL.
The length of the array is specified in the n_arguments argument.
The data is owned by the caller of the function.
n_arguments

Type: gsize

Number of arguments in arguments.

Return value

The caller of the function takes ownership of the data, and is responsible for freeing it.