mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 04:10:07 +00:00
update essence platform
This commit is contained in:
+37
-2423
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,18 @@
|
||||
package runtime
|
||||
|
||||
import "core:sys/es"
|
||||
|
||||
@(link_name="memset")
|
||||
memset :: proc "c" (ptr: rawptr, val: i32, len: int) -> rawptr {
|
||||
return es.CRTmemset(ptr, val, len);
|
||||
}
|
||||
|
||||
@(link_name="memmove")
|
||||
memmove :: proc "c" (dst, src: rawptr, len: int) -> rawptr {
|
||||
return es.CRTmemmove(dst, src, len);
|
||||
}
|
||||
|
||||
@(link_name="memcpy")
|
||||
memcpy :: proc "c" (dst, src: rawptr, len: int) -> rawptr {
|
||||
return es.CRTmemcpy(dst, src, len);
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user