[virt-tools-list] [libosinfo 01/10] Add DeviceDriver class

Christophe Fergeau cfergeau at redhat.com
Fri Mar 29 21:21:28 UTC 2013


Hey,

On Wed, Dec 05, 2012 at 04:02:57PM +0200, Zeeshan Ali (Khattak) wrote:
> +/**
> + * osinfo_device_driver_get_devices:
> + * @driver: a #OsinfoDeviceDriver instance
> + *
> + * Returns: (transfer none): The list of devices supported by this driver.
> + */
> +OsinfoDeviceList *osinfo_device_driver_get_devices(OsinfoDeviceDriver *driver)

For the record, this really should have been

Returns: (transfer full)
OsinfoDeviceList *osinfo_device_driver_get_devices(OsinfoDeviceDriver *driver, OsinfoFilter *filter)

for consistency with OsinfoOs, OsinfoPlatform and OsinfoDeployment :-/

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130329/112e5c38/attachment.sig>


More information about the virt-tools-list mailing list