MCPcopy Create free account
hub / github.com/Tracktion/choc / staticCallback

Method staticCallback

choc/gui/choc_MessageLoop.h:203–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 static gboolean staticCallback (gpointer context)
204 {
205 auto state = static_cast<Pimpl*> (context)->sharedState; // keep a local shared_ptr
206 return state->handleCallback();
207 }
208
209 struct SharedState : public std::enable_shared_from_this<SharedState>
210 {

Callers

nothing calls this directly

Calls 2

handleCallbackMethod · 0.80
invokeIfStillAliveMethod · 0.80

Tested by

no test coverage detected