[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: pgpsipblUUO4l.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]