mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 22:13:17 +00:00
Merge branch 'master' of https://github.com/odin-lang/Odin
This commit is contained in:
@@ -157,7 +157,7 @@ run_demo() {
|
||||
}
|
||||
|
||||
have_which() {
|
||||
if ! [ -x "$(command -v which)" ]; then
|
||||
if ! command -v which > /dev/null 2>&1 ; then
|
||||
panic "Could not find \`which\`"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -563,7 +563,7 @@ write_type_writer :: proc(w: io.Writer, ti: ^Type_Info, n_written: ^int = nil) -
|
||||
case .None: // Ignore
|
||||
case .Fixed:
|
||||
io.write_string(w, "#soa[", &n) or_return
|
||||
io.write_i64(w, i64(info.soa_len), 10 &n) or_return
|
||||
io.write_i64(w, i64(info.soa_len), 10) or_return
|
||||
io.write_byte(w, ']', &n) or_return
|
||||
write_type(w, info.soa_base_type, &n) or_return
|
||||
return
|
||||
|
||||
@@ -38,6 +38,7 @@ foreign user32 {
|
||||
DestroyWindow :: proc(hWnd: HWND) -> BOOL ---
|
||||
|
||||
ShowWindow :: proc(hWnd: HWND, nCmdShow: c_int) -> BOOL ---
|
||||
IsWindow :: proc(hWnd: HWND) -> BOOL ---
|
||||
BringWindowToTop :: proc(hWnd: HWND) -> BOOL ---
|
||||
GetTopWindow :: proc(hWnd: HWND) -> HWND ---
|
||||
SetForegroundWindow :: proc(hWnd: HWND) -> BOOL ---
|
||||
|
||||
Reference in New Issue
Block a user