mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 03:56:30 +00:00
trivial: Fix up a few introspection problems in FwupdPlugin
This commit is contained in:
parent
3ee52ca4dd
commit
a0d81c726f
@ -114,7 +114,7 @@ fu_chunk_array_to_string (GPtrArray *chunks)
|
||||
* Chunks a linear blob of memory into packets, ensuring each packet does not
|
||||
* cross a package boundary and is less that a specific transfer size.
|
||||
*
|
||||
* Return value: (element-type FuChunk): array of packets
|
||||
* Return value: (transfer container) (element-type FuChunk): array of packets
|
||||
*
|
||||
* Since: 1.1.2
|
||||
**/
|
||||
@ -197,7 +197,7 @@ fu_chunk_array_new (const guint8 *data,
|
||||
* Chunks a linear blob of memory into packets, ensuring each packet does not
|
||||
* cross a package boundary and is less that a specific transfer size.
|
||||
*
|
||||
* Return value: (element-type FuChunk): array of packets
|
||||
* Return value: (transfer container) (element-type FuChunk): array of packets
|
||||
*
|
||||
* Since: 1.1.2
|
||||
**/
|
||||
|
@ -121,7 +121,7 @@ fu_common_get_file_list_internal (GPtrArray *files, const gchar *directory, GErr
|
||||
* If any path under @directory cannot be accessed due to permissions an error
|
||||
* will be returned.
|
||||
*
|
||||
* Returns: (transfer container): array of files, or %NULL for error
|
||||
* Returns: (transfer container) (element-type utf8): array of files, or %NULL for error
|
||||
*
|
||||
* Since: 1.0.6
|
||||
**/
|
||||
@ -1671,7 +1671,7 @@ fu_common_fnmatch (const gchar *pattern, const gchar *str)
|
||||
* delimiter. If @max_tokens is reached, the remainder of string is appended
|
||||
* to the last token.
|
||||
*
|
||||
* Return value: a newly-allocated NULL-terminated array of strings
|
||||
* Return value: (transfer full): a newly-allocated NULL-terminated array of strings
|
||||
*
|
||||
* Since: 1.3.1
|
||||
**/
|
||||
|
@ -150,7 +150,7 @@ fu_device_set_property (GObject *object, guint prop_id,
|
||||
*
|
||||
* Gets the list of possible plugin names, typically added from quirk files.
|
||||
*
|
||||
* Returns: (element-type utf-8) (transfer container): plugin names
|
||||
* Returns: (element-type utf8) (transfer container): plugin names
|
||||
*
|
||||
* Since: 1.3.3
|
||||
**/
|
||||
|
@ -68,7 +68,7 @@ fu_hwids_has_guid (FuHwids *self, const gchar *guid)
|
||||
*
|
||||
* Returns all the defined HWIDs
|
||||
*
|
||||
* Returns: (transfer none) (element-type utf-8): An array of GUIDs
|
||||
* Returns: (transfer none) (element-type utf8): An array of GUIDs
|
||||
*
|
||||
* Since: 0.9.3
|
||||
**/
|
||||
|
@ -271,7 +271,7 @@ fu_io_channel_read_bytes (FuIOChannel *self,
|
||||
*
|
||||
* Reads bytes from the TTY, that will fail if exceeding @timeout_ms.
|
||||
*
|
||||
* Returns: a #GByteArray, or %NULL for error
|
||||
* Returns: (transfer full): a #GByteArray, or %NULL for error
|
||||
*
|
||||
* Since: 1.3.2
|
||||
**/
|
||||
|
@ -763,7 +763,7 @@ fu_plugin_set_hwids (FuPlugin *self, FuHwids *hwids)
|
||||
/**
|
||||
* fu_plugin_set_udev_subsystems:
|
||||
* @self: A #FuPlugin
|
||||
* @udev_subsystems: A #GPtrArray
|
||||
* @udev_subsystems: (element-type utf8): A #GPtrArray
|
||||
*
|
||||
* Sets the udev subsystems used by a plugin
|
||||
*
|
||||
@ -1440,7 +1440,7 @@ fu_plugin_runner_coldplug_cleanup (FuPlugin *self, GError **error)
|
||||
/**
|
||||
* fu_plugin_runner_composite_prepare:
|
||||
* @self: a #FuPlugin
|
||||
* @devices: a #GPtrArray of devices
|
||||
* @devices: (element-type FuDevice): a #GPtrArray of devices
|
||||
* @error: a #GError or NULL
|
||||
*
|
||||
* Runs the composite_prepare routine for the plugin
|
||||
@ -1460,7 +1460,7 @@ fu_plugin_runner_composite_prepare (FuPlugin *self, GPtrArray *devices, GError *
|
||||
/**
|
||||
* fu_plugin_runner_composite_cleanup:
|
||||
* @self: a #FuPlugin
|
||||
* @devices: a #GPtrArray of devices
|
||||
* @devices: (element-type FuDevice): a #GPtrArray of devices
|
||||
* @error: a #GError or NULL
|
||||
*
|
||||
* Runs the composite_cleanup routine for the plugin
|
||||
|
@ -40,7 +40,7 @@ const gchar *fu_quirks_lookup_by_id (FuQuirks *self,
|
||||
const gchar *key);
|
||||
gboolean fu_quirks_lookup_by_id_iter (FuQuirks *self,
|
||||
const gchar *group,
|
||||
FuQuirksIter iter,
|
||||
FuQuirksIter iter_cb,
|
||||
gpointer user_data);
|
||||
|
||||
#define FU_QUIRKS_PLUGIN "Plugin"
|
||||
|
@ -430,11 +430,11 @@ fu_usb_device_set_dev (FuUsbDevice *device, GUsbDevice *usb_device)
|
||||
/**
|
||||
* fu_usb_device_find_udev_device:
|
||||
* @device: A #FuUsbDevice
|
||||
* @usb_device: A #GUsbDevice, or %NULL
|
||||
* @error: A #GError, or %NULL
|
||||
*
|
||||
* Gets the matching #GUdevDevice for the #GUsbDevice.
|
||||
*
|
||||
* Returns: a #GUdevDevice, or NULL if unset or invalid
|
||||
* Returns: (transfer full): a #GUdevDevice, or NULL if unset or invalid
|
||||
*
|
||||
* Since: 1.3.2
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user