Function
AppStreamArtifactKindfrom_string
Declaration [src]
AsArtifactKind
as_artifact_kind_from_string (
const gchar* kind
)
Parameters
kind
-
Type:
const gchar*
The string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: AsArtifactKind
A AsArtifactKind
, or AS_ARTIFACT_KIND_UNKNOWN
for unknown.