mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-28 17:04:34 +00:00
Start adding pkg lines for vendor.
This commit is contained in:
@@ -31,6 +31,7 @@ package all
|
||||
@(require) import "core:sys/darwin/Foundation"
|
||||
@(require) import "core:sys/darwin/CoreFoundation"
|
||||
@(require) import "core:sys/darwin/Security"
|
||||
@(require) import "vendor:darwin/CoreVideo"
|
||||
@(require) import "vendor:darwin/Metal"
|
||||
@(require) import "vendor:darwin/MetalKit"
|
||||
@(require) import "vendor:darwin/QuartzCore"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#+build windows
|
||||
package all
|
||||
|
||||
@(require) import "vendor:compress/lz4"
|
||||
@(require) import "vendor:wgpu/glfwglue"
|
||||
@(require) import "vendor:wgpu/sdl2glue"
|
||||
@(require) import "vendor:wgpu"
|
||||
|
||||
1
vendor/box2d/box2d.odin
vendored
1
vendor/box2d/box2d.odin
vendored
@@ -1,3 +1,4 @@
|
||||
// Bindings for [[ Box2D ; https://box2d.org ]].
|
||||
package vendor_box2d
|
||||
|
||||
import "base:intrinsics"
|
||||
|
||||
1
vendor/cgltf/cgltf.odin
vendored
1
vendor/cgltf/cgltf.odin
vendored
@@ -1,3 +1,4 @@
|
||||
// Bindings for [[ cgtlf ; https://github.com/jkuhlmann/cgltf ]].
|
||||
package cgltf
|
||||
|
||||
@(private)
|
||||
|
||||
2
vendor/commonmark/cmark.odin
vendored
2
vendor/commonmark/cmark.odin
vendored
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Bindings against CMark (https://github.com/commonmark/cmark)
|
||||
Bindings for [[CMark ; https://github.com/commonmark/cmark ]].
|
||||
|
||||
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
|
||||
See LICENSE for license details.
|
||||
|
||||
2
vendor/commonmark/doc.odin
vendored
2
vendor/commonmark/doc.odin
vendored
@@ -1,6 +1,6 @@
|
||||
#+build ignore
|
||||
/*
|
||||
Bindings against CMark (https://github.com/commonmark/cmark)
|
||||
Bindings for [[CMark; https://github.com/commonmark/cmark]].
|
||||
|
||||
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
|
||||
See LICENSE for license details.
|
||||
|
||||
1
vendor/compress/lz4/lz4.odin
vendored
1
vendor/compress/lz4/lz4.odin
vendored
@@ -1,3 +1,4 @@
|
||||
// Bindings for [[LZ4 ; https://github.com/lz4/lz4]].
|
||||
package vendor_compress_lz4
|
||||
|
||||
when ODIN_OS == .Windows {
|
||||
|
||||
1
vendor/darwin/CoreVideo/CVDisplayLink.odin
vendored
1
vendor/darwin/CoreVideo/CVDisplayLink.odin
vendored
@@ -1,3 +1,4 @@
|
||||
// Bindings for [[ CoreVideo ; https://developer.apple.com/documentation/corevideo ]].
|
||||
package CoreVideo
|
||||
|
||||
DisplayLinkRef :: distinct rawptr
|
||||
|
||||
1
vendor/darwin/Metal/MetalClasses.odin
vendored
1
vendor/darwin/Metal/MetalClasses.odin
vendored
@@ -1,3 +1,4 @@
|
||||
// Bindings for [[ Metal ; https://developer.apple.com/documentation/metal ]].
|
||||
package objc_Metal
|
||||
|
||||
import NS "core:sys/darwin/Foundation"
|
||||
|
||||
1
vendor/darwin/MetalKit/MetalKit.odin
vendored
1
vendor/darwin/MetalKit/MetalKit.odin
vendored
@@ -1,3 +1,4 @@
|
||||
// Bindings for [[ MetalKit ; https://developer.apple.com/documentation/metalkit ]].
|
||||
package objc_MetalKit
|
||||
|
||||
import NS "core:sys/darwin/Foundation"
|
||||
|
||||
1
vendor/darwin/QuartzCore/QuartzCore.odin
vendored
1
vendor/darwin/QuartzCore/QuartzCore.odin
vendored
@@ -1,3 +1,4 @@
|
||||
// Bindings for [[ QuartzCore ; https://developer.apple.com/documentation/quartzcore ]].
|
||||
package objc_QuartzCore
|
||||
|
||||
import NS "core:sys/darwin/Foundation"
|
||||
|
||||
Reference in New Issue
Block a user