Skip to content

Commit

Permalink
ir: Handle _Complex _Float128 correctly.
Browse files Browse the repository at this point in the history
Unfortunately we can't test it for the same alignment issues that "long double"
has.

Fixes #1087
  • Loading branch information
cris-b authored and emilio committed Jan 19, 2018
1 parent 9df15c1 commit ea603ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ir/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1970,6 +1970,7 @@ impl BindgenContext {
CXType_Float => FloatKind::Float,
CXType_Double => FloatKind::Double,
CXType_LongDouble => FloatKind::LongDouble,
CXType_Float128 => FloatKind::Float128,
_ => {
panic!(
"Non floating-type complex? {:?}, {:?}",
Expand Down

0 comments on commit ea603ce

Please sign in to comment.