Function

AppStreammarkup_convert

Declaration [src]

gchar*
as_markup_convert (
  const gchar* markup,
  AsMarkupKind to_kind,
  GError** error
)

Description [src]

Converts XML description markup into other forms of text.

Parameters

markup const gchar*
 

The XML markup to transform.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
to_kind AsMarkupKind
 

The markup style to convert into.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gchar*
 

A newly allocated string, or NULL on error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.