mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-02-23 17:17:08 +09:00
fix: missing interpolation (impl CodeGen for Block, RegisterInterface
)
This commit is contained in:
parent
9e7a83242b
commit
cba4b3af05
1 changed files with 2 additions and 2 deletions
|
@ -209,7 +209,7 @@ impl CodeGen for Block {
|
||||||
|
|
||||||
use std::marker::PhantomData;
|
use std::marker::PhantomData;
|
||||||
|
|
||||||
use super::RegisterInterface;
|
use super::#parent;
|
||||||
|
|
||||||
#(#code_children)*
|
#(#code_children)*
|
||||||
|
|
||||||
|
@ -217,7 +217,7 @@ impl CodeGen for Block {
|
||||||
|
|
||||||
pub struct #upper_camel_name<'a> {
|
pub struct #upper_camel_name<'a> {
|
||||||
mem_ptr: *mut u32,
|
mem_ptr: *mut u32,
|
||||||
_marker: PhantomData<&'a mut RegisterInterface>,
|
_marker: PhantomData<&'a mut #parent_struct>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl #upper_camel_name<'_> {
|
impl #upper_camel_name<'_> {
|
||||||
|
|
Loading…
Reference in a new issue