Function

PackageKitbitfield_contain_priority

since: 0.5.2

Declaration [src]

gint
pk_bitfield_contain_priority (
  PkBitfield values,
  gint value,
  ...
)

Description [src]

Finds elements in a list, but with priority going to the preceeding entry.

Available since: 0.5.2

This function is not directly available to language bindings.

Parameters

values

Type: PkBitfield

A valid bitfield instance.

value

Type: gint

The first value we are searching for.

...

Type: 

Additional values to search for, terminated by -1.

Return value

Type: gint

The return enumerated type, or -1 if none are found.