Fix macro

This commit is contained in:
Lachlan Sneff
2019-01-21 14:47:19 -08:00
parent 10c5aa02a2
commit fbe480cc08
2 changed files with 7 additions and 1 deletions

View File

@ -20,4 +20,7 @@ macro_rules! export_func {
},
}
}};
($func:ident, [ $( $params:ident ),* ]) => {{
export_func($func, [$($params,)*] -> [])
}};
}