diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-08 12:38:20 +0100 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2025-08-08 12:38:20 +0100 |
| commit | 78290ceef38e7fff9b605c168eed5f24d65895c2 (patch) | |
| tree | 67af0b69f959ae7fd4d444664b4aa1d1fc8fbeee | |
| parent | 414b1059a80b6fd96e839d761c71338a60b697ec (diff) | |
Add contextless to another proc
| -rw-r--r-- | core/os/os2/file_linux.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/os/os2/file_linux.odin b/core/os/os2/file_linux.odin index b1d11b425..92f0c1541 100644 --- a/core/os/os2/file_linux.odin +++ b/core/os/os2/file_linux.odin @@ -45,8 +45,8 @@ _stderr := File{ } @init -_standard_stream_init :: proc() { - new_std :: proc(impl: ^File_Impl, fd: linux.Fd, name: string) -> ^File { +_standard_stream_init :: proc "contextless" () { + new_std :: proc "contextless" (impl: ^File_Impl, fd: linux.Fd, name: string) -> ^File { impl.file.impl = impl impl.fd = linux.Fd(fd) impl.allocator = runtime.nil_allocator() |