shithub: mc

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