You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using -1 for error makes that case distinguishable from "no more input", however I guess at that point it might be a breaking change. So I guess the documentation in the header should be updated and maybe tests for the error cases added to avoid possible confusion
The text was updated successfully, but these errors were encountered:
For the function
src_callback_read
the documentation on what is reported on error is inconsistent.-1
zero
but also zero when there is no more inputUsing
-1
for error makes that case distinguishable from "no more input", however I guess at that point it might be a breaking change. So I guess the documentation in the header should be updated and maybe tests for the error cases added to avoid possible confusionThe text was updated successfully, but these errors were encountered: