Skip to content

refactor: Use strong typedef for NGC peer id. - #2643

Merged
toktok-releaser merged 1 commit into
TokTok:masterfrom
iphydf:bitwise-gc-peer-id
Feb 9, 2024
Merged

refactor: Use strong typedef for NGC peer id.#2643
toktok-releaser merged 1 commit into
TokTok:masterfrom
iphydf:bitwise-gc-peer-id

Conversation

@iphydf

@iphydf iphydf commented Feb 3, 2024

Copy link
Copy Markdown
Member

This makes me wonder (again) whether we should somehow share types between the public API and the internal ones. All these casts (including the enum casts we already do) are not very nice.


This change is Reviewable

@iphydf iphydf added this to the v0.2.19 milestone Feb 3, 2024
@codecov

codecov Bot commented Feb 3, 2024

Copy link
Copy Markdown

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (442213b) 73.77% compared to head (ca4606d) 73.70%.

Files Patch % Lines
toxcore/group_chats.c 84.21% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2643      +/-   ##
==========================================
- Coverage   73.77%   73.70%   -0.08%     
==========================================
  Files         148      148              
  Lines       30473    30482       +9     
==========================================
- Hits        22482    22466      -16     
- Misses       7991     8016      +25     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iphydf
iphydf force-pushed the bitwise-gc-peer-id branch from 43f8947 to 1a78232 Compare February 4, 2024 22:28
@iphydf
iphydf marked this pull request as ready for review February 4, 2024 22:33
@iphydf
iphydf force-pushed the bitwise-gc-peer-id branch from 1a78232 to 911cf87 Compare February 4, 2024 22:34

@JFreegman JFreegman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@iphydf

iphydf commented Feb 6, 2024

Copy link
Copy Markdown
Member Author

@nurupo I've refactored this one as well to have a struct now.

@iphydf
iphydf force-pushed the bitwise-gc-peer-id branch 2 times, most recently from b0db592 to 682e4ff Compare February 9, 2024 02:37
@iphydf
iphydf removed the request for review from nurupo February 9, 2024 02:51

@iphydf iphydf left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Reviewed 1 of 8 files at r1, 2 of 4 files at r2, 5 of 5 files at r3, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @JFreegman)

@iphydf
iphydf requested a review from nurupo February 9, 2024 02:54
@iphydf
iphydf removed the request for review from nurupo February 9, 2024 22:34
This makes me wonder (again) whether we should somehow share types
between the public API and the internal ones. All these casts (including
the enum casts we already do) are not very nice.
@iphydf
iphydf force-pushed the bitwise-gc-peer-id branch from 682e4ff to ca4606d Compare February 9, 2024 22:58
@toktok-releaser
toktok-releaser merged commit ca4606d into TokTok:master Feb 9, 2024
@iphydf
iphydf deleted the bitwise-gc-peer-id branch February 9, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants