Function
IdeMarkedContentnew_from_data
Declaration
IdeMarkedContent*
ide_marked_content_new_from_data (
const gchar* data,
gssize len,
IdeMarkedKind kind
)
Parameters
data |
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 |
gssize |
The length of the data, or -1 to |
|
kind |
IdeMarkedKind |
The kind of markup. |
Return value
Returns: | IdeMarkedContent |
An |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |