Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.

This commit is contained in:
Karl Zylinski
2024-09-14 18:27:49 +02:00
parent b12d312408
commit 19f0127e55
317 changed files with 433 additions and 433 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//+build !freestanding
#+build !freestanding
package mem
import "core:sync"
+1 -1
View File
@@ -1,4 +1,4 @@
//+build !freestanding
#+build !freestanding
package mem
import "base:runtime"
+2 -2
View File
@@ -1,5 +1,5 @@
//+build linux
//+private
#+build linux
#+private
package mem_virtual
import "core:sys/linux"
+7 -7
View File
@@ -1,10 +1,10 @@
//+private
//+build !darwin
//+build !freebsd
//+build !openbsd
//+build !netbsd
//+build !linux
//+build !windows
#+private
#+build !darwin
#+build !freebsd
#+build !openbsd
#+build !netbsd
#+build !linux
#+build !windows
package mem_virtual
_reserve :: proc "contextless" (size: uint) -> (data: []byte, err: Allocator_Error) {
+1 -1
View File
@@ -1,4 +1,4 @@
//+private
#+private
package mem_virtual
Platform_Memory_Block :: struct {
+2 -2
View File
@@ -1,5 +1,5 @@
//+build darwin, netbsd, freebsd, openbsd
//+private
#+build darwin, netbsd, freebsd, openbsd
#+private
package mem_virtual
import "core:sys/posix"
+2 -2
View File
@@ -1,5 +1,5 @@
//+build windows
//+private
#+build windows
#+private
package mem_virtual
foreign import Kernel32 "system:Kernel32.lib"