alnyan/yggdrasil: add CPtrResult
This commit is contained in:
parent
40caf06c0a
commit
97f9e1961a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user