MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / contextGet

Function contextGet

src/override/context.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74static thread_local Context* threadContext = NULL;
75
76Context* contextGet() {
77 DISTRHO_SAFE_ASSERT(threadContext != nullptr);
78 return threadContext;
79}
80
81// Apple's clang incorrectly compiles this function when -O2 or higher is enabled.
82#ifdef ARCH_MAC

Callers 9

CardinalRemoteUIMethod · 0.50
~CardinalRemoteUIMethod · 0.50
onNanoDisplayMethod · 0.50
onMouseMethod · 0.50
onMotionMethod · 0.50
onScrollMethod · 0.50
onCharacterInputMethod · 0.50
onKeyboardMethod · 0.50
onResizeMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected