shithub: mc

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