forked from Orchid/orchid
write_fn_step convenience macro
This commit is contained in:
@@ -65,7 +65,7 @@ use crate::Primitive;
|
||||
#[macro_export]
|
||||
macro_rules! atomic_impl {
|
||||
($typ:ident) => {
|
||||
atomic_impl! {$typ, |this: &Self, _: $crate::interpreter::Context| {
|
||||
$crate::atomic_impl! {$typ, |this: &Self, _: $crate::interpreter::Context| {
|
||||
use $crate::foreign::ExternFn;
|
||||
Ok(this.clone().to_xfn_cls())
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user