Remove unneeded semicolons from vendor

This commit is contained in:
gingerBill
2021-08-31 22:33:19 +01:00
parent f57201bbd1
commit 82f58aa3de
5 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ 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" }
#assert(size_of(c.int) == size_of(b32));
#assert(size_of(c.int) == size_of(b32))
/*** Functions ***/
@(default_calling_convention="c", link_prefix="glfw")

View File

@@ -5,7 +5,7 @@ import "core:strings"
when ODIN_OS == "windows" do foreign import lib "portmidi.lib"
#assert(size_of(b32) == size_of(c.int));
#assert(size_of(b32) == size_of(c.int))
DEFAULT_SYSEX_BUFFER_SIZE :: 1024

View File

@@ -458,7 +458,7 @@ Event :: struct #raw_union {
/* Make sure we haven't broken binary compatibility */
#assert(size_of(Event) == size_of(Event{}.padding));
#assert(size_of(Event) == size_of(Event{}.padding))

View File

@@ -11,7 +11,7 @@ when ODIN_OS == "darwin" do foreign import lib "system:SDL2"
when ODIN_OS == "freebsd" do foreign import lib "system:SDL2"
bool :: distinct b32
#assert(size_of(bool) == size_of(c.int));
#assert(size_of(bool) == size_of(c.int))
FOURCC :: #force_inline proc "c" (A, B, C, D: u8) -> u32 {
return u32(A) << 0 | u32(B) << 8 | u32(C) << 16 | u32(D) << 24
@@ -155,7 +155,7 @@ iconv_utf8_ucs2 :: proc "c" (s: string) -> [^]u16 {
return cast([^]u16)iconv_string("UCS-2-INTERNAL", "UTF-8", cstring(raw_data(s)), len(s)+1)
}
#assert(size_of(rune) == size_of(c.int));
#assert(size_of(rune) == size_of(c.int))
iconv_utf8_utf32 :: iconv_utf8_ucs4
iconv_utf8_ucs4 :: proc "c" (s: string) -> [^]rune {

View File

@@ -10,7 +10,7 @@ when ODIN_OS == "freebsd" do foreign import lib "system:SDL2_ttf"
bool :: SDL.bool
#assert(size_of(rune) == size_of(u32));
#assert(size_of(rune) == size_of(u32))
MAJOR_VERSION :: 2
MINOR_VERSION :: 0