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

fix: update pact ffi headers to 0.4.21 and map types #440

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Jul 3, 2024

We have a pact.h file which was in the source, but wasn't included, so we were inlining types.

This update the pact_ffi.h file to match with our current lib 0.4.21 and matches the types so we can directly map from the pact.h file.

We did need to update the enum types for INTERACTION_PART and LEVEL_FILTER to int's for ease of use but there are no external user facing changes in behaviour so I think this is potentially a better solution and avoids potential mismatches as seen in #89

@coveralls
Copy link

Coverage Status

coverage: 29.134%. remained the same
when pulling 58a472a on YOU54F:fix/pact_ffi_headers
into c80e188 on pact-foundation:master.

@mefellows mefellows merged commit fa87e40 into pact-foundation:master Jul 4, 2024
8 checks passed
@YOU54F YOU54F deleted the fix/pact_ffi_headers branch July 4, 2024 17:31
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