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

libbpf-cargo: Make required_padding a free-standing function #736

Merged
merged 1 commit into from
Mar 21, 2024
Merged

libbpf-cargo: Make required_padding a free-standing function #736

merged 1 commit into from
Mar 21, 2024

Conversation

danielocfb
Copy link
Collaborator

Factor out a new free-standing function, required_padding(), that calculates the required padding for a type based on its inputs.

Factor out a new free-standing function, required_padding(), that
calculates the required padding for a type based on its inputs.

Signed-off-by: Daniel Müller <[email protected]>
@danielocfb danielocfb merged commit 1b2a717 into libbpf:master Mar 21, 2024
12 checks passed
@danielocfb danielocfb deleted the topic/req-pad branch March 21, 2024 18:42
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.

2 participants