Constructor

GomOrderingnew

Declaration

GomOrdering*
gom_ordering_new (
  GomExpression* expression,
  GomSortDirection direction
)

Description

Creates a new ordering expression.

Parameters

expression

Type: GomExpression

A GomExpression.

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

Type: GomSortDirection

The sort direction.

Return value

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