mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
os2: make platform error more ergonomic by making it an alias
This commit is contained in:
@@ -30,7 +30,7 @@ General_Error :: enum u32 {
|
||||
Unsupported,
|
||||
}
|
||||
|
||||
Platform_Error :: enum i32 {None=0}
|
||||
Platform_Error :: _Platform_Error
|
||||
|
||||
Error :: union #shared_nil {
|
||||
General_Error,
|
||||
|
||||
Reference in New Issue
Block a user