Method

LspCompletionItemset_data

Declaration

void
lsp_completion_item_set_data (
  LspCompletionItem* self,
  GVariant* value
)

Description

Sets the value of data.

A data entry field that is preserved on a completion item between a completion and a completion resolve request.

Parameters

value

Type: GVariant

The new value of data.

The argument can be NULL.
The data is owned by the caller of the method.