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(chatffi): return and read from ptrs #5827

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Oct 2, 2023

Description

A unit struct was being returned within a c_rep struct. This caused the unit struct to have no body in the header file and caused build errors in ios. This unit struct should have been a pointer with read functions and not returned as a rust unit struct. This PR moves it over to a pointer and corrects it's readers.

Motivation and Context

Don't produce broken builds.

A lot of types around this fix will be removed soon after this is merged but it this corrects a broken build and it would be nicer to work on top of this PR, then ignore it and fix the grand scheme.

How Has This Been Tested?

Built and provided to the mobile team. Confirmed no build errors.

What process can a PR reviewer use to test or verify this change?

Skim the code, but honestly don't look too close it's about to churn.

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Test Results (CI)

1 219 tests   1 219 ✔️  11m 35s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 1618db3.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Oct 2, 2023
@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Test Results (Integration tests)

  2 files  11 suites   13m 28s ⏱️
33 tests 32 ✔️ 0 💤 1
34 runs  33 ✔️ 0 💤 1

For more details on these failures, see this check.

Results for commit 1618db3.

♻️ This comment has been updated with latest results.

@brianp brianp requested a review from SWvheerden October 2, 2023 13:41
@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Oct 4, 2023
@SWvheerden SWvheerden merged commit dd2eddb into tari-project:development Oct 4, 2023
13 of 14 checks passed
@brianp brianp deleted the fix-metadata-reads branch October 4, 2023 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants