> > I could cast it to take a ref T, but that would be an ABI hack,

> Would that even work? Well. I guess it could. I've never tried casting a "ref" to a "void*"

Yes, ref is implemented as pointer. But who knows, maybe there exists a weird architecture with ref registers :).