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 is_struct_packed() a free-standing function #738

Merged
merged 1 commit into from
Mar 21, 2024
Merged

libbpf-cargo: Make is_struct_packed() a free-standing function #738

merged 1 commit into from
Mar 21, 2024

Conversation

danielocfb
Copy link
Collaborator

Factor out a new free-standing function, is_struct_packed(), checks whether a given BTF type was declared as "packed".

Factor out a new free-standing function, is_struct_packed(), checks
whether a given BTF type was declared as "packed".

Signed-off-by: Daniel Müller <[email protected]>
@danielocfb danielocfb merged commit 8e42a6f into libbpf:master Mar 21, 2024
12 checks passed
@danielocfb danielocfb deleted the topic/struct-packed branch March 25, 2024 17:35
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