mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 14:48:47 +00:00
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux, darwin, freebsd, openbsd, netbsd
|
||||
#+build linux, darwin, freebsd, openbsd, netbsd
|
||||
package ENet
|
||||
|
||||
// When we implement the appropriate bindings for Unix, the section separated
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package ENet
|
||||
|
||||
// When we implement the appropriate bindings for Windows, the section separated
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build ignore
|
||||
#+build ignore
|
||||
/*
|
||||
Bindings against CMark (https://github.com/commonmark/cmark)
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux, darwin, freebsd, openbsd, netbsd
|
||||
#+build linux, darwin, freebsd, openbsd, netbsd
|
||||
package directx_dxc
|
||||
import "core:c"
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package directx_dxc
|
||||
import win32 "core:sys/windows"
|
||||
import dxgi "vendor:directx/dxgi"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux
|
||||
#+build linux
|
||||
package egl
|
||||
|
||||
NativeDisplayType :: distinct rawptr
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+vet !using-param
|
||||
#+vet !using-param
|
||||
package fontstash
|
||||
|
||||
import "base:runtime"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build !js
|
||||
#+build !js
|
||||
package fontstash
|
||||
|
||||
import "core:log"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build js
|
||||
#+build js
|
||||
package fontstash
|
||||
|
||||
AddFontPath :: proc(
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build darwin
|
||||
#+build darwin
|
||||
package glfw
|
||||
|
||||
import NS "core:sys/darwin/Foundation"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux
|
||||
#+build linux
|
||||
package glfw
|
||||
|
||||
import "vendor:x11/xlib"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build windows
|
||||
#+build windows
|
||||
package glfw
|
||||
|
||||
import win32 "core:sys/windows"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build !windows
|
||||
#+build !windows
|
||||
package miniaudio
|
||||
|
||||
import "core:sys/unix"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build windows, linux, darwin
|
||||
#+build windows, linux, darwin
|
||||
package nanovg_gl
|
||||
|
||||
import "core:log"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build windows, linux, darwin
|
||||
#+build windows, linux, darwin
|
||||
package nanovg
|
||||
|
||||
// TODO rename structs to old nanovg style!
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build wasm32, wasm64p32
|
||||
#+build wasm32, wasm64p32
|
||||
package stb_truetype
|
||||
|
||||
import "base:builtin"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build js wasm32, js wasm64p32
|
||||
#+build js wasm32, js wasm64p32
|
||||
package wasm_js_interface
|
||||
|
||||
foreign import dom_lib "odin_dom"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build !js
|
||||
#+build !js
|
||||
package wasm_js_interface
|
||||
|
||||
import "base:runtime"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build js wasm32, js wasm64p32
|
||||
#+build js wasm32, js wasm64p32
|
||||
package wasm_js_interface
|
||||
|
||||
foreign import dom_lib "odin_dom"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build !js
|
||||
#+build !js
|
||||
package wasm_js_interface
|
||||
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build js wasm32, js wasm64p32
|
||||
#+build js wasm32, js wasm64p32
|
||||
package wasm_js_interface
|
||||
|
||||
foreign import "odin_env"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build !js
|
||||
#+build !js
|
||||
package wasm_js_interface
|
||||
|
||||
import "core:mem"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build js wasm32, js wasm64p32
|
||||
#+build js wasm32, js wasm64p32
|
||||
package wasm_js_interface
|
||||
|
||||
import "core:mem"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build !js
|
||||
#+build !js
|
||||
package vendor_wgpu_example_triangle
|
||||
|
||||
import "core:time"
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build !js
|
||||
#+build !js
|
||||
package vendor_wgpu_example_triangle
|
||||
|
||||
import "core:c"
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
//+build !linux
|
||||
//+build !windows
|
||||
//+build !darwin
|
||||
#+build !linux
|
||||
#+build !windows
|
||||
#+build !darwin
|
||||
package wgpu_glfw_glue
|
||||
|
||||
#panic("package wgpu/glfwglue is not supported on the current target")
|
||||
|
||||
Vendored
+3
-3
@@ -1,6 +1,6 @@
|
||||
//+build !linux
|
||||
//+build !windows
|
||||
//+build !darwin
|
||||
#+build !linux
|
||||
#+build !windows
|
||||
#+build !darwin
|
||||
package wgpu_sdl2_glue
|
||||
|
||||
#panic("package wgpu/sdl2glue is not supported on the current target")
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux, freebsd, openbsd
|
||||
#+build linux, freebsd, openbsd
|
||||
package xlib
|
||||
|
||||
/* ---- X11/extensions/XKB.h ---------------------------------------------------------*/
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux, freebsd, openbsd
|
||||
#+build linux, freebsd, openbsd
|
||||
package xlib
|
||||
|
||||
KeySym :: enum u32 {
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux, openbsd, freebsd
|
||||
#+build linux, openbsd, freebsd
|
||||
package xlib
|
||||
|
||||
foreign import xlib "system:X11"
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
//+build linux, freebsd, openbsd
|
||||
#+build linux, freebsd, openbsd
|
||||
package xlib
|
||||
|
||||
// Since this is a unix-only library we make a few simplifying assumptions
|
||||
|
||||
Reference in New Issue
Block a user