func Allocate[T](arena *Arena) *T {
var bytes = arena.Bump(sizeof(T), alignof(T))
return (*T) bytes
}
Any reason why this would not work?Maybe you need to cast to unsafe.Pointer or something before returning, but in theory this _should_ work.