| 42 | #ifdef ARROW_MIMALLOC |
| 43 | struct Mimalloc { |
| 44 | static Result<MemoryPool*> GetAllocator() { |
| 45 | MemoryPool* pool; |
| 46 | RETURN_NOT_OK(mimalloc_memory_pool(&pool)); |
| 47 | return pool; |
| 48 | } |
| 49 | }; |
| 50 | #endif |
| 51 |
nothing calls this directly
no test coverage detected