void SP_CALLCONV Session::callback_logged_in(sp_session *session, sp_error error) { Session* pSession = GetSessionFromUserdata( session ); pSession->OnLoggedIn( error ); }