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

Move macro helpers into helpers submodule #449

Merged
merged 1 commit into from
Aug 23, 2021

Conversation

kloenk
Copy link
Member

@kloenk kloenk commented Jul 16, 2021

This factors all helpers of the macro function into an internal module, to make it easier to create non module macros in the future. A consumer will be the rtnl macro for networking.

part of #439

@kloenk kloenk added the • lib Related to the `rust/` library. label Jul 16, 2021
@kloenk kloenk requested a review from nbdd0121 July 16, 2021 10:28
rust/macros/helpers.rs Outdated Show resolved Hide resolved
rust/macros/helpers.rs Outdated Show resolved Hide resolved
rust/macros/helpers.rs Outdated Show resolved Hide resolved
This is in preperation for new marcos which are for example used
for netlink related functions, and therefore having one big macro
file is not practicable anymore.

Signed-off-by: Finn Behrens <me@kloenk.de>
Signed-off-by: Finn Behrens <me@kloenk.dev>
@ojeda ojeda merged commit 744b1f1 into Rust-for-Linux:rust Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
• lib Related to the `rust/` library.
Development

Successfully merging this pull request may close these issues.

None yet

4 participants