Method

LspDiagnosticget_data

Declaration

GVariant*
lsp_diagnostic_get_data (
  LspDiagnostic* self
)

Description

Gets the value of data.

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

Since:

3.16.0.

Return value

Type: GVariant

The value of data.

The returned data is owned by the instance.
The return value can be NULL.