Make core and vendor adhere to -vet, -strict-style, and -disallow-do

This commit is contained in:
gingerBill
2021-09-11 16:40:19 +01:00
parent 93593f4721
commit 344abf2cb2
48 changed files with 218 additions and 189 deletions
+9 -2
View File
@@ -3,8 +3,15 @@ package glfw_bindings
import "core:c"
import vk "vendor:vulkan"
when ODIN_OS == "linux" do foreign import glfw "system:glfw" // TODO: Add the billion-or-so static libs to link to in linux
when ODIN_OS == "windows" do foreign import glfw { "lib/glfw3.lib", "system:user32.lib", "system:gdi32.lib", "system:shell32.lib" }
when ODIN_OS == "linux" { foreign import glfw "system:glfw" } // TODO: Add the billion-or-so static libs to link to in linux
when ODIN_OS == "windows" {
foreign import glfw {
"lib/glfw3.lib",
"system:user32.lib",
"system:gdi32.lib",
"system:shell32.lib",
}
}
#assert(size_of(c.int) == size_of(b32))