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" {
379379
380380 This function is intended for logging/debugging purposes.
381381
382- This function guarantees to never return NULL.
382+ This function guarantees to never return NULL for a valid @ref dev .
383383 If there was no error in the last call to hid_read/hid_read_error -
384384 the returned string clearly indicates that.
385385
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-
390386 Strings returned from hid_read_error() must not be freed by the user,
391387 i.e. owned by HIDAPI library.
392388 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