alnyan/yggdrasil: add CPtrResult
This commit is contained in:
@@ -667,6 +667,13 @@ impl Type {
|
|||||||
}
|
}
|
||||||
None
|
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 {
|
"NonNull" => Some(Type::Ptr {
|
||||||
ty: Box::new(generic.into_owned()),
|
ty: Box::new(generic.into_owned()),
|
||||||
is_const: false,
|
is_const: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user