shithub: mc

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