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