mirror of
https://github.com/ziglang/zig.git
synced 2025-12-08 15:23:14 +00:00
Change tag returned by zigTagType for c_longdouble to Float.
Function was returning Int before.
This commit is contained in:
parent
2759313263
commit
8f646daed6
@ -38,7 +38,6 @@ pub const Type = extern union {
|
|||||||
.c_ulong,
|
.c_ulong,
|
||||||
.c_longlong,
|
.c_longlong,
|
||||||
.c_ulonglong,
|
.c_ulonglong,
|
||||||
.c_longdouble,
|
|
||||||
.int_signed,
|
.int_signed,
|
||||||
.int_unsigned,
|
.int_unsigned,
|
||||||
=> return .Int,
|
=> return .Int,
|
||||||
@ -47,6 +46,7 @@ pub const Type = extern union {
|
|||||||
.f32,
|
.f32,
|
||||||
.f64,
|
.f64,
|
||||||
.f128,
|
.f128,
|
||||||
|
.c_longdouble,
|
||||||
=> return .Float,
|
=> return .Float,
|
||||||
|
|
||||||
.c_void => return .Opaque,
|
.c_void => return .Opaque,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user