const std = @import("std"); pub const c = @import("c.zig").c; pub const Locale = extern struct { language: [*c]const u8, // A language name, like "en" for English. country: [*c]const u8, // A country, like "US" for America. Can be NULL. }; pub inline fn getPreferredLocales(count: *c_int) ?*?*Locale { return c.SDL_GetPreferredLocales(@ptrCast(count)); }