Function
LspTextDocumentItemnew
Declaration
LspTextDocumentItem*
lsp_text_document_item_new (
GUri* uri,
LspLanguageId language_id,
gint version,
const gchar* text
)
Parameters
uri-
Type:
GUriNo description available.
The data is owned by the caller of the function. language_id-
Type:
LspLanguageIdNo description available.
version-
Type:
gintNo description available.
text-
Type:
const gchar*No description available.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: LspTextDocumentItem
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |