Method

AppStreamComposeResultadd_hint_v

Declaration [src]

gboolean
asc_result_add_hint_v (
  AscResult* result,
  AsComponent* cpt,
  const gchar* tag,
  gchar** kv
)

Description [src]

Add an issue hint for a component.

This method is renamed to asc_result_add_hint() in language bindings

Parameters

cpt

Type: AsComponent

The affected AsComponent.

The data is owned by the caller of the method.
tag

Type: const gchar*

AppStream Compose Issue hint tag.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
kv

Type: gchar**

List of key-value pairs for replacement variables.

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

Return value

Type: gboolean

TRUE if the added hint did not cause the component to be invalidated.