Procházet zdrojové kódy

Add contextless to another proc

gingerBill před 1 měsícem
rodič
revize
78290ceef3
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      core/os/os2/file_linux.odin

+ 2 - 2
core/os/os2/file_linux.odin

@@ -45,8 +45,8 @@ _stderr := File{
 }
 }
 
 
 @init
 @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.file.impl = impl
 		impl.fd = linux.Fd(fd)
 		impl.fd = linux.Fd(fd)
 		impl.allocator = runtime.nil_allocator()
 		impl.allocator = runtime.nil_allocator()