aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows/icu.odin
blob: 7be9ce4c6abd33c9df4edb253bc68d3ce6bf4021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#+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 ---
}


// NOTE(bill): all of these types actually do use `i32` and not `c_int`