MCPcopy Create free account
hub / github.com/RevoSucks/BM64Recomp / get_current_context

Method get_current_context

src/ui/core/ui_context.cpp:665–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665recompui::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
674recompui::Style* get_resource_from_current_context(resource_slotmap::key key) {
675 // Ensure a context is currently opened by this thread.

Callers

nothing calls this directly

Calls 1

context_errorFunction · 0.85

Tested by

no test coverage detected