mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-07 02:54:18 +00:00
Change examples/all
This commit is contained in:
@@ -85,12 +85,39 @@ _ :: xlib
|
||||
|
||||
// NOTE: needed for doc generator
|
||||
|
||||
import NS "vendor:darwin/Foundation"
|
||||
import MTL "vendor:darwin/Metal"
|
||||
import MTK "vendor:darwin/MetalKit"
|
||||
import CA "vendor:darwin/QuartzCore"
|
||||
import NS "vendor:darwin/Foundation"
|
||||
import MTL "vendor:darwin/Metal"
|
||||
import MTK "vendor:darwin/MetalKit"
|
||||
import CA "vendor:darwin/QuartzCore"
|
||||
|
||||
_ :: NS
|
||||
_ :: MTL
|
||||
_ :: MTK
|
||||
_ :: CA
|
||||
|
||||
|
||||
import D3D11 "vendor:directx/d3d11"
|
||||
import D3D12 "vendor:directx/d3d12"
|
||||
import DXGI "vendor:directx/dxgi"
|
||||
|
||||
_ :: D3D11
|
||||
_ :: D3D12
|
||||
_ :: DXGI
|
||||
|
||||
|
||||
import cm "vendor:commonmark"
|
||||
_ :: cm
|
||||
|
||||
|
||||
import stb_easy_font "vendor:stb/easy_font"
|
||||
import stbi "vendor:stb/image"
|
||||
import stbrp "vendor:stb/rect_pack"
|
||||
import stbtt "vendor:stb/truetype"
|
||||
import stb_vorbis "vendor:stb/vorbis"
|
||||
|
||||
_ :: stb_easy_font
|
||||
_ :: stbi
|
||||
_ :: stbrp
|
||||
_ :: stbtt
|
||||
_ :: stb_vorbis
|
||||
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
//+build windows, linux
|
||||
package all
|
||||
|
||||
import cm "vendor:commonmark"
|
||||
_ :: cm
|
||||
@@ -1,3 +0,0 @@
|
||||
//+build darwin
|
||||
package all
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
//+build windows
|
||||
package all
|
||||
|
||||
import D3D11 "vendor:directx/d3d11"
|
||||
import D3D12 "vendor:directx/d3d12"
|
||||
import DXGI "vendor:directx/dxgi"
|
||||
|
||||
_ :: D3D11
|
||||
_ :: D3D12
|
||||
_ :: DXGI
|
||||
@@ -1,15 +0,0 @@
|
||||
//+build windows, linux
|
||||
package all
|
||||
|
||||
import stb_easy_font "vendor:stb/easy_font"
|
||||
import stbi "vendor:stb/image"
|
||||
import stbrp "vendor:stb/rect_pack"
|
||||
import stbtt "vendor:stb/truetype"
|
||||
import stb_vorbis "vendor:stb/vorbis"
|
||||
|
||||
_ :: stb_easy_font
|
||||
_ :: stbi
|
||||
_ :: stbrp
|
||||
_ :: stbtt
|
||||
_ :: stb_vorbis
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
//+build windows, linux
|
||||
package all
|
||||
|
||||
import zlib "vendor:zlib"
|
||||
_ :: zlib
|
||||
Reference in New Issue
Block a user