| 80 | namespace |
| 81 | { |
| 82 | void requirePythonMainThread(const char* api) |
| 83 | { |
| 84 | try { |
| 85 | Gui::requireMainThread(api); |
| 86 | } |
| 87 | catch (const Base::Exception& exception) { |
| 88 | throw Py::RuntimeError(exception.what()); |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | struct CoinActionTarget |
| 93 | { |
no test coverage detected