35 }
catch (std::exception &
e) {
36 std::cerr <<
"Save blocker dtor swallowing an exception: " << e.what() <<
"\n";
43 (controller->*callback)();
51 return SDL_SemValue(
sem_) == 0;
59 return SDL_SemTryWait(
sem_) == 0;
63 assert(SDL_SemValue(
sem_) == 0);
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
static void on_unblock(play_controller *controller, void(play_controller::*callback)())
static void(play_controller::* callback_)()
static bool saves_are_blocked()
static play_controller * controller_