| 44 | } |
| 45 | |
| 46 | MemoryPool* get_memory_pool() { |
| 47 | std::lock_guard<std::mutex> guard(memory_pool_mutex); |
| 48 | if (default_python_pool) { |
| 49 | return default_python_pool; |
| 50 | } else { |
| 51 | return default_memory_pool(); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | // ---------------------------------------------------------------------- |
| 56 | // PythonErrorDetail |
nothing calls this directly
no test coverage detected