Skip to content

fix(ctypesutil): correctly apply wrapped lib function as CLibrary member #1116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

semcodech
Copy link
Contributor

@semcodech semcodech commented Aug 13, 2021

While using the IXXAT driver we observed that the errcheck function can.interfaces.ixxat.canlib.__check_status is never called after library function calls, preventing the detection of timeouts etc. by the caller. The root cause is that the original library function instead of the wrapped function is called.

@mergify mergify bot requested a review from hardbyte August 13, 2021 08:02
Copy link
Owner

@hardbyte hardbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@codecov
Copy link

codecov bot commented Aug 13, 2021

Codecov Report

Merging #1116 (f9ef2af) into develop (5b63bb2) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           develop    #1116      +/-   ##
===========================================
- Coverage    70.49%   70.48%   -0.01%     
===========================================
  Files           79       79              
  Lines         7666     7667       +1     
===========================================
  Hits          5404     5404              
- Misses        2262     2263       +1     

@hardbyte hardbyte merged commit 44bd901 into hardbyte:develop Aug 13, 2021
@semcodech semcodech deleted the fix-library-errcheck-wrapper branch October 6, 2021 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants