-
Notifications
You must be signed in to change notification settings - Fork 292
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
refactor: Add common msgpack array packer with callback. #2577
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2577 +/- ##
==========================================
- Coverage 66.85% 66.80% -0.05%
==========================================
Files 148 148
Lines 30330 30376 +46
==========================================
+ Hits 20276 20294 +18
- Misses 10054 10082 +28 ☔ View full report in Codecov by Sentry. |
bb4f824
to
ee8615b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update friend_request event, then this looks good to merge.
f7df28d
to
d595e18
Compare
There will be more object arrays that need to be packed. This function takes care of NULL (creating an empty array), and putting the correct array size and calling the per-element callback the right amount of times.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 42 of 44 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status:complete! 1 of 1 approvals obtained
There will be more object arrays that need to be packed. This function
takes care of NULL (creating an empty array), and putting the correct
array size and calling the per-element callback the right amount of
times.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)