| 741 | } |
| 742 | |
| 743 | size_t MemoryManagerFunctionWrapper::allocated(void *ptr) { |
| 744 | size_t out; |
| 745 | AF_CHECK(getMemoryManager(handle_).allocated_fn(handle_, &out, ptr)); |
| 746 | return out; |
| 747 | } |
| 748 | |
| 749 | void MemoryManagerFunctionWrapper::unlock(void *ptr, bool user_unlock) { |
| 750 | AF_CHECK( |