Add other constants to c and libc

This commit is contained in:
gingerBill
2021-09-10 16:14:39 +01:00
parent 297cdde144
commit 9980f81062
5 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package runtime
@(link_name="memset")
memset :: proc "c" (ptr: rawptr, val: i32, len: int) -> rawptr #no_bounds_check {
memset :: proc "c" (ptr: rawptr, val: i32, len: uint) -> rawptr #no_bounds_check {
if ptr != nil && len != 0 {
b := byte(val)
p := ([^]byte)(ptr)