shithub: mc

ref: 5d5d5e417324785a9fc78ffd14a4ad5393e0fb06
dir: /lib/std/clear.myr/

View raw version
use "memops"

pkg std =
	generic clear	: (p : @a#	-> void)
;;

generic clear = {p : @a#
	memfill((p : byte#), 0, sizeof(@a))
}