This repository has been archived on 2026-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
sdl3bindings2/official/release-3.2.0/tmp/error.zig

15 lines
272 B
Zig

const std = @import("std");
pub const c = @import("c.zig").c;
pub inline fn outOfMemory() bool {
return c.SDL_OutOfMemory();
}
pub inline fn getError() [*c]const u8 {
return c.SDL_GetError();
}
pub inline fn clearError() bool {
return c.SDL_ClearError();
}