| 663 | } |
| 664 | |
| 665 | recompui::ContextId recompui::get_current_context() { |
| 666 | // Ensure a context is currently opened by this thread. |
| 667 | if (opened_context_id == ContextId::null()) { |
| 668 | context_error(ContextId::null(), ContextErrorType::GetContextWithoutOpen); |
| 669 | } |
| 670 | |
| 671 | return opened_context_id; |
| 672 | } |
| 673 | |
| 674 | recompui::Style* get_resource_from_current_context(resource_slotmap::key key) { |
| 675 | // Ensure a context is currently opened by this thread. |
nothing calls this directly
no test coverage detected