summaryrefslogtreecommitdiff
path: root/matrix-macros
diff options
context:
space:
mode:
Diffstat (limited to 'matrix-macros')
-rw-r--r--matrix-macros/Cargo.toml2
-rw-r--r--matrix-macros/src/lib.rs6
2 files changed, 4 insertions, 4 deletions
diff --git a/matrix-macros/Cargo.toml b/matrix-macros/Cargo.toml
index df84237..4aff09a 100644
--- a/matrix-macros/Cargo.toml
+++ b/matrix-macros/Cargo.toml
@@ -9,4 +9,4 @@ proc-macro = true
[dependencies]
syn = { version = "1", features = ["full"] }
quote = "1"
-matrix = { path = "../matrix" }
+matrix-lang = { path = "../matrix-lang" }
diff --git a/matrix-macros/src/lib.rs b/matrix-macros/src/lib.rs
index b12d30b..a660053 100644
--- a/matrix-macros/src/lib.rs
+++ b/matrix-macros/src/lib.rs
@@ -37,12 +37,12 @@ pub fn native_func(input: TokenStream, annotated_item: TokenStream) -> TokenStre
assert!(itemfn.sig.variadic.is_none(), "item must not be variadic");
let expanded = quote! {
- #visibility fn #name() -> ::std::rc::Rc< ::matrix::chunk::Function> {
- ::std::rc::Rc::new( ::matrix::chunk::Function {
+ #visibility fn #name() -> ::std::rc::Rc< ::matrix_lang::prelude::Function> {
+ ::std::rc::Rc::new( ::matrix_lang::prelude::Function {
name: ::std::rc::Rc::from( #name_str ),
arity: #arity,
variadic: #variadic,
- fun: ::matrix::chunk::InnerFunction::Native(
+ fun: ::matrix_lang::prelude::InnerFunction::Native(
::std::rc::Rc::new(
|#inputs| #output #block
)