File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -379,14 +379,10 @@ extern "C" {
379
379
380
380
This function is intended for logging/debugging purposes.
381
381
382
- This function guarantees to never return NULL.
382
+ This function guarantees to never return NULL for a valid @ref dev .
383
383
If there was no error in the last call to hid_read/hid_read_error -
384
384
the returned string clearly indicates that.
385
385
386
- Any HIDAPI function that can explicitly indicate an execution failure
387
- (e.g. by an error code, or by returning NULL) - may set the error string,
388
- to be returned by this function.
389
-
390
386
Strings returned from hid_read_error() must not be freed by the user,
391
387
i.e. owned by HIDAPI library.
392
388
Device-specific error string may remain allocated at most until hid_close() is called.
You can’t perform that action at this time.
0 commit comments