minor fixes
This commit is contained in:
@@ -175,9 +175,9 @@ pub fn isCompatible(comptime ZigType: type, c_type: Type) bool {
|
||||
else => false,
|
||||
},
|
||||
.float => |zig_float| switch (c_type) {
|
||||
.float => zig_float.bits = 32,
|
||||
.double => zig_float.bits = 64,
|
||||
.long_double => zig_float.bits = 64,
|
||||
.float => zig_float.bits == 32,
|
||||
.double => zig_float.bits == 64,
|
||||
.long_double => zig_float.bits == 64,
|
||||
},
|
||||
.pointer => @compileError("TODO"),
|
||||
.array => @compileError("TODO"),
|
||||
|
||||
Reference in New Issue
Block a user