-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Mark as inline
functions implemented in src/serialize.h
#44739
Conversation
Hehe, I was just about to make a similar PR :-). Glad I looked here first. Hopefully this can be merged soon, it seems innocent enough. The buildkite failure stems from an unrelated test (apparently "128 == 16" does not hold... 😂) |
dc48c2b
to
6a38f3c
Compare
With #44350 now merged, in a local rebase of this PR onto latest |
triage is busy, they should not be getting asked to review this type of PR |
analyzegc needs to be fixed. |
Also, remove duplicate definitions from `src/staticdata.c` and include `serialize.h` in there.
This breaks analyzegc
6a38f3c
to
9ed8033
Compare
I reverted the conversion of macros to functions, now analyzegc is happy again |
* Mark as `inline` functions implemented in `src/serialize.h` Also, remove duplicate definitions from `src/staticdata.c` and include `serialize.h` in there. (cherry picked from commit 081ae64)
In #44634 (comment) it was suggested that these functions were implemented in the header to allow inlining, but they weren't annotated with
inline
, thus causing a warning when the functions were unused.Also, remove duplicate definitions from
src/staticdata.c
and includeserialize.h
in there.