Skip to content

Commit 291acf8

Browse files
committed
Introduce raw mod
1 parent 6c7d86a commit 291acf8

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,5 @@ pub use types::Reg;
189189
pub use types::JitNode;
190190
pub use types::{JitWord, JitUword, JitPointer};
191191
pub(crate) use types::ToFFI;
192+
193+
pub(crate) mod raw;

src/raw.rs

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
macro_rules! jit_entry {
2+
( $entry:ident( $( $inarg:ident ),* )
3+
=> $stem:ident
4+
=> [ $( $suffix:ident ),* ]
5+
=> $invokes:ident($enum:ident $( , $outarg:ident )* )
6+
) => {
7+
fn $entry() { }
8+
}
9+
}
10+
11+
include!(concat!(env!("OUT_DIR"), "/entries.rs"));

0 commit comments

Comments
 (0)