diff options
Diffstat (limited to 'src/linked.rs')
| -rw-r--r-- | src/linked.rs | 18 |
1 files changed, 0 insertions, 18 deletions
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<sylt::Value, sylt::error::ErrorKind> { - Ok(x) -} - -#[sylt_macro::extern_link(g)] -pub fn f2(x: sylt::Value, _typecheck: bool) -> Result<sylt::Value, sylt::error::ErrorKind> { - Ok(x) -} - -mod m1 { - mod m2 { - #[sylt_macro::extern_link(h)] - pub fn f2(x: sylt::Value, _typecheck: bool) -> Result<sylt::Value, sylt::error::ErrorKind> { - Ok(x) - } - } -} |
