mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 13:25:19 +00:00
Add sdl3_locale.odin
This commit is contained in:
13
vendor/sdl3/sdl3_locale.odin
vendored
Normal file
13
vendor/sdl3/sdl3_locale.odin
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
package sdl3
|
||||
|
||||
import "core:c"
|
||||
|
||||
Locale :: struct {
|
||||
language: cstring, /**< A language name, like "en" for English. */
|
||||
country: cstring, /**< A country, like "US" for America. Can be NULL. */
|
||||
}
|
||||
|
||||
@(default_calling_convention="c", link_prefix="SDL_", require_results)
|
||||
foreign lib {
|
||||
GetPreferredLocales :: proc(count: ^c.int) -> [^]^Locale ---
|
||||
}
|
||||
Reference in New Issue
Block a user