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

In the custom vtable mode invert how the static/non-static overloads versions work for ByteSizeLong and _InternalSerialize. That way the public entry point and the function pointer both end up being the same. Currently, the static function is a separate function than the one called externally, forcing two functions to exist. #17316

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

copybara-service[bot]
Copy link

In the custom vtable mode invert how the static/non-static overloads versions work for ByteSizeLong and _InternalSerialize. That way the public entry point and the function pointer both end up being the same. Currently, the static function is a separate function than the one called externally, forcing two functions to exist.
It has no effect in normal mode.

@copybara-service copybara-service bot force-pushed the test_648735224 branch 7 times, most recently from 4986608 to ddc56f6 Compare July 9, 2024 18:47
@copybara-service copybara-service bot force-pushed the test_648735224 branch 2 times, most recently from 4881244 to ccf9a50 Compare July 10, 2024 19:29
…versions work for ByteSizeLong and _InternalSerialize. That way the public entry point and the function pointer both end up being the same. Currently, the static function is a separate function than the one called externally, forcing two functions to exist.

It has no effect in normal mode.

PiperOrigin-RevId: 651119789
@copybara-service copybara-service bot merged commit c97a042 into main Jul 10, 2024
@copybara-service copybara-service bot deleted the test_648735224 branch July 10, 2024 19:49
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.

1 participant