| 3603 | } |
| 3604 | |
| 3605 | extern inline void |
| 3606 | rpmalloc_heap_thread_set_current(rpmalloc_heap_t* heap) { |
| 3607 | heap_t* prev_heap = get_thread_heap_raw(); |
| 3608 | if (prev_heap != heap) { |
| 3609 | set_thread_heap(heap); |
| 3610 | if (prev_heap) |
| 3611 | rpmalloc_heap_release(prev_heap); |
| 3612 | } |
| 3613 | } |
| 3614 | |
| 3615 | extern inline rpmalloc_heap_t* |
| 3616 | rpmalloc_get_heap_for_ptr(void* ptr) |
nothing calls this directly
no test coverage detected