mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Strip semicolons
This commit is contained in:
@@ -4,10 +4,10 @@ package os2
|
||||
import win32 "core:sys/windows"
|
||||
|
||||
_pipe :: proc() -> (r, w: Handle, err: Error) {
|
||||
p: [2]win32.HANDLE;
|
||||
p: [2]win32.HANDLE
|
||||
if !win32.CreatePipe(&p[0], &p[1], nil, 0) {
|
||||
return 0, 0, Platform_Error{i32(win32.GetLastError())};
|
||||
return 0, 0, Platform_Error{i32(win32.GetLastError())}
|
||||
}
|
||||
return Handle(p[0]), Handle(p[1]), nil;
|
||||
return Handle(p[0]), Handle(p[1]), nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user