alnyan/yggdrasil: add CPtrResult

This commit is contained in:
Mark Poliakov 2024-03-15 19:49:36 +02:00
parent 40caf06c0a
commit 97f9e1961a

View File

@ -667,6 +667,13 @@ impl Type {
}
None
}
// XXX: yggdrasil-specific hack
"CPtrResult" => Some(Type::Ptr {
ty: Box::new(generic.into_owned()),
is_const: false,
is_nullable: true,
is_ref: false,
}),
"NonNull" => Some(Type::Ptr {
ty: Box::new(generic.into_owned()),
is_const: false,