Skip to content

Commit d474171

Browse files
cris-bemilio
authored andcommitted
ir: Handle _Complex _Float128 correctly.
Unfortunately we can't test it for the same alignment issues that "long double" has.
1 parent 9df15c1 commit d474171

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ir/context.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,6 +1970,7 @@ impl BindgenContext {
19701970
CXType_Float => FloatKind::Float,
19711971
CXType_Double => FloatKind::Double,
19721972
CXType_LongDouble => FloatKind::LongDouble,
1973+
CXType_Float128 => FloatKind::Float128,
19731974
_ => {
19741975
panic!(
19751976
"Non floating-type complex? {:?}, {:?}",

0 commit comments

Comments
 (0)