zig

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

commit 8f646daed6d73fad4adf2b677b1b47f8b23f2d6c (tree)
parent 2759313263d58dba324788dbe346ed1506b239dc
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,