Convert em imports to imports! macro

This commit is contained in:
Brandon Fish
2019-01-30 20:03:54 -06:00
parent 9dcbea7408
commit 909af1250f
7 changed files with 59 additions and 321 deletions

View File

@ -194,7 +194,6 @@ impl Instance {
pub fn module(&self) -> Module {
Module::new(Arc::clone(&self.module))
}
}
impl Instance {

View File

@ -14,7 +14,7 @@ macro_rules! debug {
#[macro_export]
macro_rules! func {
($func:ident, [ $( $params:ident ),* ] -> [ $( $returns:ident ),* ] ) => {{
($func:path, [ $( $params:ident ),* ] -> [ $( $returns:ident ),* ] ) => {{
use $crate::{
export::{Context, Export, FuncPointer},
types::{FuncSig, Type},