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

Binding integers as output parameters with correct C types #1144

Merged
merged 1 commit into from
Jun 23, 2020
Merged

Binding integers as output parameters with correct C types #1144

merged 1 commit into from
Jun 23, 2020

Conversation

yitam
Copy link
Contributor

@yitam yitam commented Jun 23, 2020

Related to #699 and #773

When testing issue #699 , found that if the output param was initialized to -1, the result is a big negative value -4294967173, which is essentially FFFF FFFF 0000 007B (note that 7B is 123 -- the expected value). Because in a 64-bit system, a 8-byte buffer is supplied.

For details please check C Data Types

@coveralls
Copy link

Coverage Status

Coverage remained the same at 75.002% when pulling d8a280f on yitam:ctypeFix into d4a29fe on microsoft:dev.

@codecov
Copy link

codecov bot commented Jun 23, 2020

Codecov Report

Merging #1144 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev    #1144   +/-   ##
=======================================
  Coverage   77.87%   77.87%           
=======================================
  Files          24       24           
  Lines        7280     7280           
=======================================
  Hits         5669     5669           
  Misses       1611     1611           

@yitam yitam merged commit d5e1d8c into microsoft:dev Jun 23, 2020
@yitam yitam deleted the ctypeFix branch June 23, 2020 20:52
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.

2 participants