From ef38892cb0c8245d65a07518e080849795016755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Sat, 20 Feb 2021 21:42:25 +0100 Subject: cool linky macro --- src/linked.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/linked.rs (limited to 'src/linked.rs') diff --git a/src/linked.rs b/src/linked.rs deleted file mode 100644 index 6d6621c..0000000 --- a/src/linked.rs +++ /dev/null @@ -1,18 +0,0 @@ -#[sylt_macro::extern_link] -pub fn f(x: sylt::Value, _typecheck: bool) -> Result { - Ok(x) -} - -#[sylt_macro::extern_link(g)] -pub fn f2(x: sylt::Value, _typecheck: bool) -> Result { - Ok(x) -} - -mod m1 { - mod m2 { - #[sylt_macro::extern_link(h)] - pub fn f2(x: sylt::Value, _typecheck: bool) -> Result { - Ok(x) - } - } -} -- cgit v1.2.1