1 // bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq 2 3 static __fp16 global; 4 5 struct Test__Float16 6 { 7 __fp16 f; 8 }; 9 10 struct Test__Float16Ref 11 { 12 __fp16 *f; 13 }; 14 15 /* 16 // This options are currently supported only on specific targets (eg. x86 with sse2) 17 _Float16 returns_f16(); 18 19 void gets_f16(_Float16 arg); 20 21 struct Test__Float16_Complex 22 { 23 _Float16 _Complex mMember; 24 }; 25 26 struct Test__Float16_ComplexPtr 27 { 28 _Float16 _Complex *mMember; 29 }; 30 31 _Float16 _Complex globalValueHalf; 32 33 _Float16 _Complex returns_f16_complex(); 34 35 void gets_f16_complex(_Float16 _Complex arg); 36 */