diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ir/context.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ir/context.rs b/src/ir/context.rs index 258c6a0c..1be14a5f 100644 --- a/src/ir/context.rs +++ b/src/ir/context.rs @@ -1970,7 +1970,14 @@ impl BindgenContext { CXType_Float => FloatKind::Float, CXType_Double => FloatKind::Double, CXType_LongDouble => FloatKind::LongDouble, - _ => panic!("Non floating-type complex?"), + CXType_Float128 => FloatKind::Float128, + _ => { + panic!( + "Non floating-type complex? {:?}, {:?}", + ty, + float_type, + ) + }, }; TypeKind::Complex(float_kind) } |