msb continuation ((ammend))

This commit is contained in:
Michael Sippel 2025-02-20 05:24:50 +01:00
parent 9e871a97a4
commit dfc9ced33c
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -60,10 +60,21 @@ pub fn get_c_repr_type(dict: &mut impl TypeDict, t: laddertypes::TypeTerm, skip_
} else {
Some(format!("{} *", c_type))
}
} else {
}
else if args[0] == laddertypes::TypeTerm::TypeID(dict.get_typeid(&"MsbCont".into()).unwrap())
{
let c_type = get_c_repr_type(dict, args[1].clone(), false)?;
if skip_pointer {
Some(c_type)
} else {
Some(format!("{} *", c_type))
}
}
else {
None
}
}
_ => None
}
}