Skip to content
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

No throw on positive return value from ..._set_size(...) #379

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

timyhac
Copy link
Collaborator

@timyhac timyhac commented Jun 15, 2024

After some comments on #359 it became clear that there was a bug in libplctag.NET wrapper code.

Previously it was enforcing the result of set_size to be 0, but the core API says that it is only an error on a negative result and a positive result indicates the previous size.

…ibplctag.NET wrapper code.

Previously it was enforcing the result of set_size to be 0, but the core API says that it is only an error on a negative result and a positive result indicates the previous size.
@timyhac timyhac merged commit 8a641bb into master Jun 15, 2024
1 check failed
@timyhac timyhac deleted the SetSize_no_exception_on_positive_result branch June 15, 2024 03:57
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.

1 participant