doc: Add since version tag to libusb_wrap_sys_device()
authorIhor Dutchak <ihor.youw@gmail.com>
Mon, 17 May 2021 20:56:34 +0000 (23:56 +0300)
committerNathan Hjelm <hjelmn@google.com>
Sun, 6 Jun 2021 18:25:55 +0000 (12:25 -0600)
Closes #914

Signed-off-by: Nathan Hjelm <hjelmn@google.com>
libusb/core.c
libusb/version_nano.h

index 8414756..6fd0c29 100644 (file)
@@ -1218,6 +1218,8 @@ void API_EXPORTED libusb_unref_device(libusb_device *dev)
  *
  * This is a non-blocking function; no requests are sent over the bus.
  *
+ * Since version 1.0.23, \ref LIBUSB_API_VERSION >= 0x01000107
+ *
  * \param ctx the context to operate on, or NULL for the default context
  * \param sys_dev the platform-specific system device handle
  * \param dev_handle output location for the returned device handle pointer. Only
index d44ba57..f8f80a3 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 11619
+#define LIBUSB_NANO 11620