| 769 | // ============================================================================ |
| 770 | |
| 771 | void* VMemMgr::alloc(size_t size, uint32_t type) noexcept { |
| 772 | if (type == kAllocPermanent) |
| 773 | return vMemMgrAllocPermanent(this, size); |
| 774 | else |
| 775 | return vMemMgrAllocFreeable(this, size); |
| 776 | } |
| 777 | |
| 778 | Error VMemMgr::release(void* p) noexcept { |
| 779 | if (!p) return kErrorOk; |
no test coverage detected