| 2744 | |
| 2745 | #ifdef MEM_DEBUG |
| 2746 | void MemPool::print_contents(const char* filename, unsigned flags, const char* filter_path) noexcept |
| 2747 | { |
| 2748 | FILE* out = os_utils::fopen(filename, "w"); |
| 2749 | if (!out) |
| 2750 | return; |
| 2751 | |
| 2752 | print_contents(out, flags, filter_path); |
| 2753 | fclose(out); |
| 2754 | } |
| 2755 | |
| 2756 | // This member function can't be const because there are calls to the mutex. |
| 2757 | void MemPool::print_contents(FILE* file, unsigned flags, const char* filter_path) noexcept |