forked from AbleOS/holey-bytes
15 lines
250 B
Rust
15 lines
250 B
Rust
|
pub mod asm;
|
||
|
pub mod text;
|
||
|
|
||
|
macro_rules! impl_both {
|
||
|
($($tt:tt)*) => {
|
||
|
impl Assembler {
|
||
|
$crate::macros::asm::impl_asm!($($tt)*);
|
||
|
}
|
||
|
|
||
|
$crate::macros::text::gen_text!($($tt)*);
|
||
|
};
|
||
|
}
|
||
|
|
||
|
pub(crate) use impl_both;
|