zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 40e37d4324dd4e74c2a3285a73942b6ae50d003e (tree)
parent 1ec0261518a8a0e302ebba28c96c4956ba323ce7
Author: antlilja <liljaanton2001@gmail.com>
Date:   Tue,  8 Dec 2020 22:08:41 +0100

Change tag returned by zigTagType for c_longdouble to Float.

Function was returning Int before.

Diffstat:
Msrc/type.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/type.zig b/src/type.zig @@ -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,