void SP_CALLCONV Session::callback_logged_out(sp_session *session) { Session* pSession = GetSessionFromUserdata( session ); pSession->m_hasLoggedOut = true; pSession->OnLoggedOut(); }