This commit is contained in:
Firestar99
2025-06-26 18:09:23 +02:00
parent 9f9a50e79a
commit 79c47637d2
85 changed files with 1148 additions and 844 deletions

View File

@@ -517,7 +517,7 @@ fn generate_register_node_impl(parsed: &ParsedNodeFn, field_names: &[&Ident], st
}
let mut constructors = Vec::new();
let unit = parse_quote!(gcore::Context);
let unit = parse_quote!(gcore::context::Context);
let parameter_types: Vec<_> = parsed
.fields
.iter()

View File

@@ -643,7 +643,7 @@ impl ParsedNodeFn {
}));
self.input.ty = parse_quote!(#ident);
if self.input.implementations.is_empty() {
self.input.implementations.push(parse_quote!(gcore::Context));
self.input.implementations.push(parse_quote!(gcore::context::Context));
}
}
if self.input.pat_ident.ident == "_" {