mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 09:54:45 +00:00
15 lines
378 B
Odin
15 lines
378 B
Odin
#+build windows
|
|
package sys_windows
|
|
|
|
foreign import "system:icu.lib"
|
|
|
|
UError :: enum i32 {
|
|
U_ZERO_ERROR = 0,
|
|
}
|
|
|
|
@(default_calling_convention="system")
|
|
foreign icu {
|
|
ucal_getWindowsTimeZoneID :: proc(id: wstring, len: i32, winid: wstring, winidCapacity: i32, status: ^UError) -> i32 ---
|
|
ucal_getDefaultTimeZone :: proc(result: wstring, cap: i32, status: ^UError) -> i32 ---
|
|
}
|