Replace compile_assert with #assert

This commit is contained in:
gingerBill committed 2018-02-24 19:03:29 +00:00
1 parent b2461f7192
commit 35ba5771a5
17 files changed
+96 -69

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ memory_copy :: proc(dst, src: rawptr, n: int) #inline {
}
v128b :: type {4}u32
compile_assert(align_of(v128b) == 16)
#assert(align_of(v128b) == 16)
d, s: ^byte = dst, src