Constructor

GomSearchExpressionnew

Declaration

GomExpression*
gom_search_expression_new (
  GomExpression* target,
  GomExpression* query,
  GomSearchMode mode
)

Description

Creates a search expression.

Parameters

target

Type: GomExpression

A GomExpression.

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

Type: GomExpression

A GomExpression.

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

Type: GomSearchMode

The search match mode.

Return value

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