Add other constants to c and libc

This commit is contained in:
gingerBill committed 2021-09-10 16:14:39 +01:00
1 parent 297cdde144
commit 9980f81062
5 files changed
+14 -3

No files matched your search

+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)