Method

PackageKitPackageSackget_array

since: 0.6.1

Declaration [src]

GPtrArray*
pk_package_sack_get_array (
  PkPackageSack* sack
)

Description [src]

Gets the package array from the sack.

Available since: 0.6.1

Return value

Type: An array of PkPackage*

A GPtrArray, free with g_ptr_array_unref().

The caller of the method takes ownership of the returned data container, but not the data inside it.