mirror of
https://github.com/ziglang/zig.git
synced 2025-12-08 07:13:08 +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_longlong,
|
||||
.c_ulonglong,
|
||||
.c_longdouble,
|
||||
.int_signed,
|
||||
.int_unsigned,
|
||||
=> return .Int,
|
||||
@ -47,6 +46,7 @@ pub const Type = extern union {
|
||||
.f32,
|
||||
.f64,
|
||||
.f128,
|
||||
.c_longdouble,
|
||||
=> return .Float,
|
||||
|
||||
.c_void => return .Opaque,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user