ref: 27097e78de938a29a368f9198ed1b1b6377090dd
dir: /lib/std/slcp.myr/
use "die.use"
use "types.use"
use "memops.use"
pkg std =
generic slcp : (a : @a[:], b : @a[:] -> void)
;;
generic slcp = {a : @a[:], b : @a[:]
iassert(a.len == b.len, "arguments to slcp() must be of equal length\n")
memblit(a castto(byte#), b castto(byte#), a.len * sizeof(@a))
}