all: build: thisDir improvements (#570)
* build:all: thisDir improvements more performant output, usage code reducement and compileError for wrong usage * glfw: update deprecated code
This commit is contained in:
parent
a8d8fedf95
commit
82e10f4f28
13 changed files with 196 additions and 148 deletions
|
|
@ -2420,7 +2420,7 @@ pub inline fn setDropCallback(self: Window, comptime callback: ?fn (window: Wind
|
|||
inline fn hint(h: Hint, value: anytype) void {
|
||||
internal_debug.assertInitialized();
|
||||
const value_type = @TypeOf(value);
|
||||
const value_type_info: std.builtin.TypeInfo = @typeInfo(value_type);
|
||||
const value_type_info: std.builtin.Type = @typeInfo(value_type);
|
||||
|
||||
switch (value_type_info) {
|
||||
.Int, .ComptimeInt => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue