zig fmt
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
93888c2a9f
commit
22a69f23f0
1 changed files with 2 additions and 2 deletions
|
@ -110,13 +110,13 @@ pub inline fn hint(hint_const: usize, value: anytype) Error!void {
|
||||||
@compileError("expected pointer to array of u8, got " ++ @typeName(arr_type));
|
@compileError("expected pointer to array of u8, got " ++ @typeName(arr_type));
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
else => @compileError("expected pointer to array, got " ++ @typeName(pointed_type)),
|
else => @compileError("expected pointer to array, got " ++ @typeName(pointed_type)),
|
||||||
}
|
}
|
||||||
c.glfwWindowHintString(@intCast(c_int, hint_const), &value[0]);
|
c.glfwWindowHintString(@intCast(c_int, hint_const), &value[0]);
|
||||||
},
|
},
|
||||||
else => {
|
else => {
|
||||||
@compileError("expected a int, bool, enum, array, or pointer, got " ++ @typeName(value_type));
|
@compileError("expected a int, bool, enum, array, or pointer, got " ++ @typeName(value_type));
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
try getError();
|
try getError();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue