Function
GLibprefix_error_literal
since: 2.70
Declaration [src]
void
g_prefix_error_literal(
GError**err,
constgchar*prefix
)
Description [src]
Prefixes prefix to an existing error message. If err or *err is
NULL (i.e.: no error variable) then do nothing.
Available since: 2.70
Parameters
err-
Type:
GErrorA return location for a
GError, orNULL.The argument will be modified by the function.The argument can be set toNULLby the function.The argument can beNULL.The caller of the function takes ownership of the returned data, and is responsible for freeing it. prefix-
Type:
const gchar*String to prefix
errwith.The data is owned by the caller of the function.The value is a NUL terminated UTF-8 string.