Skip to content

Commit

Permalink
feature: code to parse simple foreign_typemap!
Browse files Browse the repository at this point in the history
ref #173
  • Loading branch information
Dushistov committed May 26, 2019
1 parent 6d4151c commit e2f53e3
Show file tree
Hide file tree
Showing 4 changed files with 448 additions and 1 deletion.
2 changes: 2 additions & 0 deletions macroslib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
//! More details can be found at
//! [README](https://github.com/Dushistov/rust_swig/blob/master/README.md)
#![recursion_limit = "128"]

macro_rules! parse_type {
($($tt:tt)*) => {{
let ty: Type = parse_quote! { $($tt)* };
Expand Down
1 change: 1 addition & 0 deletions macroslib/src/typemap.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
pub mod ast;
mod merge;
mod parse;
mod parse_typemap_macro;
pub mod ty;
pub mod utils;

Expand Down
Loading

0 comments on commit e2f53e3

Please sign in to comment.