diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-11 17:27:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-11 17:27:19 -0600 |
commit | 87c25bef2e48d08c87b8a3931c88fdaf950fcda1 (patch) | |
tree | 1cdb16fcf0ebdc0c43a841521cdb565df9553c89 /tests/headers/macro-expr-basic.h | |
parent | 08f56c3fc4b204313918f9dbbce935ace4365f43 (diff) | |
parent | b5d879ae4a88068e96b9fc701e55cd64e2a9ba39 (diff) |
Auto merge of #230 - jeanphilippeD:issue_72, r=emilio
Use __BindegenComplex for C Complex
Fix #72
C complex only exists for floating point types
C Complex are built in types
long double _Complex is not supported.
Long double would be an f128, runing generated binding test produces:
assertion failed: `(left == right)` (left: `16`, right: `32`)',
tests/expectations/tests/complex.rs:72
We test global long double _Complex because it does not require
layout tests.
Handle all the different way a complex can be present in
BindgenContext calling generated_bindegen_complex to indicate
that __BindgenContext will need to be added.
Diffstat (limited to 'tests/headers/macro-expr-basic.h')
0 files changed, 0 insertions, 0 deletions