| 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 | { |
nothing calls this directly
no test coverage detected