Function
IdeMarkedContentnew_from_data
Declaration
IdeMarkedContent*
ide_marked_content_new_from_data (
const gchar* data,
gssize len,
IdeMarkedKind kind
)
Parameters
data-
Type:
const gchar*The data for the content.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. len-
Type:
gssizeThe length of the data, or -1 to
strlen()data. kind-
Type:
IdeMarkedKindThe kind of markup.
Return value
Type: IdeMarkedContent
An IdeMarkedContent.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |