diff options
author | Richard Hughes <richard@hughsie.com> | 2020-02-14 15:57:43 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-02-20 09:30:28 +0000 |
commit | 942b3b78e0ebf97a88634928d872905eef62f27c (patch) | |
tree | 8f3c82c5256dba70bc5162d7cf58a18097798e72 | |
parent | 6f53b5b40daf768bdb5df6985b96b77653e75519 (diff) | |
download | gusb-942b3b78e0ebf97a88634928d872905eef62f27c.tar.gz |
trivial: Add some missing 'Since: ' values
-rw-r--r-- | gusb/gusb-device.c | 4 | ||||
-rw-r--r-- | gusb/gusb-util.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gusb/gusb-device.c b/gusb/gusb-device.c index e8fbf82..be03131 100644 --- a/gusb/gusb-device.c +++ b/gusb/gusb-device.c @@ -594,6 +594,8 @@ g_usb_device_get_interfaces (GUsbDevice *device, GError **error) * Closes the device when it is no longer required. * * Return value: %TRUE on success + * + * Since: 0.1.0 **/ gboolean g_usb_device_close (GUsbDevice *device, @@ -628,6 +630,8 @@ g_usb_device_close (GUsbDevice *device, * This is a blocking function which usually incurs a noticeable delay. * * Return value: %TRUE on success + * + * Since: 0.1.0 **/ gboolean g_usb_device_reset (GUsbDevice *device, diff --git a/gusb/gusb-util.c b/gusb/gusb-util.c index f471337..4ca830d 100644 --- a/gusb/gusb-util.c +++ b/gusb/gusb-util.c @@ -11,6 +11,16 @@ #include "gusb-util.h" +/** + * g_usb_strerror: + * @error_code: a libusb error code + * + * Converts the error code into a string + * + * Return value: String, or %NULL + * + * Since: 0.1.0 + **/ const gchar * g_usb_strerror (gint error_code) { |