summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2020-02-14 15:57:43 +0000
committerRichard Hughes <richard@hughsie.com>2020-02-14 15:57:43 +0000
commite3517b395b085d048d094aa3727eaf571c87ac38 (patch)
tree8f3c82c5256dba70bc5162d7cf58a18097798e72
parent779cdc625d8a36810785de6f3b50e7c58ce56e57 (diff)
downloadgusb-e3517b395b085d048d094aa3727eaf571c87ac38.tar.gz
trivial: Add some missing 'Since: ' values
-rw-r--r--gusb/gusb-device.c4
-rw-r--r--gusb/gusb-util.c10
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)
{