kernel/eka/euser/us_trp.cpp
branchanywhere
changeset 96 428c5911a502
parent 0 a41df078684a
equal deleted inserted replaced
95:f561f9ae805b 96:428c5911a502
    89 	return iR;
    89 	return iR;
    90 #else // !__SUPPORT_CPP_EXCEPTIONS__
    90 #else // !__SUPPORT_CPP_EXCEPTIONS__
    91 	return KErrNone;
    91 	return KErrNone;
    92 #endif //__SUPPORT_CPP_EXCEPTIONS__
    92 #endif //__SUPPORT_CPP_EXCEPTIONS__
    93 	}
    93 	}
       
    94 #elif defined(__LEAVE_EQUALS_THROW__) && defined(__SYMC__)
       
    95 EXPORT_C TInt XLeaveException::GetReason() const
       
    96 	{
       
    97 #ifdef __SUPPORT_CPP_EXCEPTIONS__
       
    98 	Exec::LeaveEnd();
       
    99 	return iR;
       
   100 #else // !__SUPPORT_CPP_EXCEPTIONS__
       
   101 	return KErrNone;
       
   102 #endif //__SUPPORT_CPP_EXCEPTIONS__
       
   103 	}
    94 #endif	// !defined(__LEAVE_EQUALS_THROW__) || !defined(__WINS__)
   104 #endif	// !defined(__LEAVE_EQUALS_THROW__) || !defined(__WINS__)
    95 
   105 
    96 EXPORT_C void User::LeaveNoMemory()
   106 EXPORT_C void User::LeaveNoMemory()
    97 /**
   107 /**
    98 Leaves with the specific reason code KErrNoMemory.
   108 Leaves with the specific reason code KErrNoMemory.