alloc_return := @use("alloc_return.hb")

FakeAlloc := struct {
	$init := fn(): Self {
		return .()
	}

	$alloc := fn(self: Self, alloc_type: type, count: uint): alloc_return.AllocReturn {
		return .(0, null)
	}

	$dealloc := fn(self: Self, ptr: ^u8, alloc_type: type, count: uint): void {
		return void
	}
	// Nothing to clean up here
	$deinit := fn(self: Self): void {
		return void
	}
}