Method

LspDiagnosticset_code

Declaration

void
lsp_diagnostic_set_code (
  LspDiagnostic* self,
  const gchar* value
)

Description

Sets the value of code.

The diagnostic’s code, which might appear in the user interface.

Parameters

value

Type: const gchar*

The new value of code.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.