Function

LspInlayHintwith_label_parts

Declaration

LspInlayHint*
lsp_inlay_hint_new_with_label_parts (
  LspPosition* position,
  LspInlayHintLabelPart** label_parts,
  gint label_parts_length1,
  LspInlayHintKind kind
)

Description

Creates an inlay hint with structured label parts.

Parameters

position

Type: LspPosition

No description available.

The data is owned by the caller of the function.
label_parts

Type: An array of LspInlayHintLabelPart*

No description available.

The length of the array is specified in the label_parts_length1 argument.
The data is owned by the caller of the function.
label_parts_length1

Type: gint

No description available.

kind

Type: LspInlayHintKind

No description available.

Return value

Type: LspInlayHint

No description available.

The caller of the function takes ownership of the data, and is responsible for freeing it.