fix(plugin): fix bad export macro

This commit is contained in:
Brooks J Rady 2021-04-27 15:12:26 +01:00
parent 2814c30272
commit 1b36579d3b

View file

@ -39,7 +39,8 @@ pub fn zellij_exports(store: &Store, plugin_env: &PluginEnv) -> ImportObject {
($($host_function:ident),+ $(,)?) => {
imports! {
"zellij" => {
$("$host_function" => Function::new_native_with_env(store, plugin_env.clone(), $host_function),)+
$(stringify!($host_function) =>
Function::new_native_with_env(store, plugin_env.clone(), $host_function),)+
}
}
}