mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-08-26 21:21:14 -04:00
c1e7498e84
Signed-off-by: a30054014 <aipeng3@huawei.com>
36 lines
593 B
C
36 lines
593 B
C
// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
|
|
|
|
static __fp16 global;
|
|
|
|
struct Test__Float16
|
|
{
|
|
__fp16 f;
|
|
};
|
|
|
|
struct Test__Float16Ref
|
|
{
|
|
__fp16 *f;
|
|
};
|
|
|
|
/*
|
|
// This options are currently supported only on specific targets (eg. x86 with sse2)
|
|
_Float16 returns_f16();
|
|
|
|
void gets_f16(_Float16 arg);
|
|
|
|
struct Test__Float16_Complex
|
|
{
|
|
_Float16 _Complex mMember;
|
|
};
|
|
|
|
struct Test__Float16_ComplexPtr
|
|
{
|
|
_Float16 _Complex *mMember;
|
|
};
|
|
|
|
_Float16 _Complex globalValueHalf;
|
|
|
|
_Float16 _Complex returns_f16_complex();
|
|
|
|
void gets_f16_complex(_Float16 _Complex arg);
|
|
*/ |