Constructor

LspCommandnew

Declaration

LspCommand*
lsp_command_new (
  const gchar* title,
  const gchar* command,
  GVariant** arguments,
  gint arguments_length1
)

Description

Creates a new LspCommand.

Parameters

title

Type: const gchar*

No description available.

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

Type: const gchar*

No description available.

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

Type: An array of GVariant*

No description available.

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

Type: gint

No description available.

Return value

Type: LspCommand

No description available.

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