Method

LspCodeLensset_data

Declaration

void
lsp_code_lens_set_data (
  LspCodeLens* self,
  GVariant* value
)

Description

Sets the value of data.

A data entry field that is preserved on the code lens item between a code lens and a code lens 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.