L zard
L zard
The docs say that integers passed to `writeInt` must have a bit width divisible by 8. I believe the function for this case is now `writePackedInt`: https://ziglang.org/documentation/0.12.0/std/#std.mem.writePackedInt
Throwing an idea here, wouldn't it make more sense to be able to declare enum subsets? ```zig const AnEnum = enum { a, b, ASubset { c, d, }, e,...
Passing `null` here means you don't want a default value. You need to pass `@as(?u8, null)`.
Mirroring the joystick and gamepad APIs, would it make sense to generate separate keyboard events, so users can simply consider the ones they care about and maybe disable the others?
I've experimented frame pacing in several contexts (SDL, Godot, web, Löve2D), and I've found it useful to make a clear distinction between: - the frame rate and frame period, measured...
Rebased and fixed the issues: - `SDL_REVISION` will indeed [always be defined](https://github.com/libsdl-org/SDL/blob/483e79bf82fa9cbfcc7f35457c2f92817529d0e9/CMakeLists.txt#L3109), so I dropped the related commit. - `HAVE_LIBUNWIND_H` removed. - `calloc`, `free` and `realloc` removed from `symbols_to_check` and...
Then the question is whether we want to mirror CMake's behavior, or enforce stricter rules and require values even for `#cmakedefine` lines.
Example of a simple project made with `zig init`, with the following `build.zig`: ```zig const std = @import("std"); const Enum = enum { a, b, c }; pub fn build(b:...