projects
/
platform
/
upstream
/
libusb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Explain default options in libusb_set_option documentation
[platform/upstream/libusb.git]
/
libusb
/
libusb.h
diff --git
a/libusb/libusb.h
b/libusb/libusb.h
index
2825b41
..
7ec3fcf
100644
(file)
--- a/
libusb/libusb.h
+++ b/
libusb/libusb.h
@@
-982,8
+982,9
@@
struct libusb_version {
* Sessions are created by libusb_init() and destroyed through libusb_exit().
* If your application is guaranteed to only ever include a single libusb
* user (i.e. you), you do not have to worry about contexts: pass NULL in
* Sessions are created by libusb_init() and destroyed through libusb_exit().
* If your application is guaranteed to only ever include a single libusb
* user (i.e. you), you do not have to worry about contexts: pass NULL in
- * every function call where a context is required. The default context
- * will be used.
+ * every function call where a context is required, and the default context
+ * will be used. Note that libusb_set_option(NULL, ...) is special, and adds
+ * an option to a list of default options for new contexts.
*
* For more information, see \ref libusb_contexts.
*/
*
* For more information, see \ref libusb_contexts.
*/