shithub: mc

ref: e65d5c4019e76430398e4ebc1cb734f1efea3b14
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))
}