mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 04:10:07 +00:00
Clean up organization of package runtime
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
package runtime
|
||||
|
||||
_OS_Errno :: distinct int;
|
||||
|
||||
os_write :: proc "contextless" (data: []byte) -> (int, _OS_Errno) {
|
||||
return _os_write(data);
|
||||
}
|
||||
|
||||
current_thread_id :: proc "contextless" () -> int {
|
||||
return _current_thread_id();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user