Method

LspDiagnosticset_data

Declaration

void
lsp_diagnostic_set_data (
  LspDiagnostic* self,
  GVariant* value
)

Description

Sets the value of data.

A data entry field that is preserved between a textDocument/publishDiagnostics notification and textDocument/codeAction request.

Since:

3.16.0.

Parameters

value

Type: GVariant

The new value of data.

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