L zard
L zard
### Zig Version 0.14.0-dev.325+9356cb147 ### Steps to Reproduce and Observed Output Given this function: ```zig fn raiseError() !void { return error.Example; } ``` With this comptime call: ```zig pub fn...
Improves the type detection logic of `option` to more accurately raise errors for all invalid types. Currently, passing any pointer-to-u8 or pointer-to-enum type other than `[]const u8` or `[]const AnEnum`...
Given this unformatted code: ```zig const block = .{ .foo = .{ // comment .bar = 0, } }; ``` Current `zig fmt` formats it this way: ```zig const block...
Moves code from `SDL_wasapi_win32.c` into `SDL_wasapi.c`, following support removal of WinRT. https://github.com/libsdl-org/SDL/blob/8a2cac7aaade086fce7c8e645fca606371da13d7/src/audio/wasapi/SDL_wasapi_win32.c#L22-L29
Currently, config flag macros depending on `SDL_LEAN_AND_MEAN` are always defined, regardless of its value, and only their definedness is checked, not their own values. Those changes fixes this. See 387774ab8a32151d12f3e76653d5b5bc070a28ce...
Adds missing macro definitions to `SDL_build_config.h.cmake`, removes unused ones, changes unneeded `@VAR@` replacements to `1`s, and fixes a few little things. Those are issues I came across while working with...
### Zig Version 0.14.0-dev.1002+71a27ebd8 ### Steps to Reproduce and Observed Behavior In a fresh `zig init` project: ```zig const std = @import("std"); pub fn build(b: *std.Build) void { const config_header...