shithub: mc

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