Function
LspCompletionItemnew
Declaration
LspCompletionItem*
lsp_completion_item_new (
const gchar* label,
LspCompletionItemKind kind
)
Parameters
label-
Type:
const gchar*The string displayed for this completion item.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. kind-
Type:
LspCompletionItemKindThe type of completion item, or use
LSP_COMPLETION_ITEM_KIND_UNSETfor a default.
Return value
Type: LspCompletionItem
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |