Change tag returned by zigTagType for c_longdouble to Float.

Function was returning Int before.
This commit is contained in:
antlilja 2020-12-08 22:08:41 +01:00 committed by Veikka Tuominen
parent 2759313263
commit 8f646daed6

View File

@ -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,