mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Add contextless to another proc
This commit is contained in:
@@ -45,8 +45,8 @@ _stderr := File{
|
|||||||
}
|
}
|
||||||
|
|
||||||
@init
|
@init
|
||||||
_standard_stream_init :: proc() {
|
_standard_stream_init :: proc "contextless" () {
|
||||||
new_std :: proc(impl: ^File_Impl, fd: linux.Fd, name: string) -> ^File {
|
new_std :: proc "contextless" (impl: ^File_Impl, fd: linux.Fd, name: string) -> ^File {
|
||||||
impl.file.impl = impl
|
impl.file.impl = impl
|
||||||
impl.fd = linux.Fd(fd)
|
impl.fd = linux.Fd(fd)
|
||||||
impl.allocator = runtime.nil_allocator()
|
impl.allocator = runtime.nil_allocator()
|
||||||
|
|||||||
Reference in New Issue
Block a user