kernel/eka/euser/epoc/win32/uc_utl.cpp
branchanywhere
changeset 96 428c5911a502
parent 50 999bb78c71ac
equal deleted inserted replaced
95:f561f9ae805b 96:428c5911a502
    34 public:
    34 public:
    35 	IMPORT_C TInt Trap(TInt& aResult);
    35 	IMPORT_C TInt Trap(TInt& aResult);
    36 	IMPORT_C static void UnTrap();
    36 	IMPORT_C static void UnTrap();
    37 	};
    37 	};
    38 
    38 
       
    39 
       
    40 #ifdef __SYMC__
       
    41 
    39 EXPORT_C TInt TTrap::Trap(TInt&)
    42 EXPORT_C TInt TTrap::Trap(TInt&)
    40 	{
    43 	{
       
    44 		/*
       
    45 	TTrapHandler* h = Exec::PushTrapFrame(this);
       
    46 	if (h != NULL)
       
    47 		h->Trap();
       
    48 */
    41 	return 0;
    49 	return 0;
    42 	}
    50 	}
    43 
    51 
    44 EXPORT_C void TTrap::UnTrap()
    52 EXPORT_C void TTrap::UnTrap()
    45 	{
    53 	{
    46 	}
    54 	}
       
    55 
       
    56 #else
       
    57 EXPORT_C TInt TTrap::Trap(TInt&)
       
    58 	{
       
    59 	return 0;
       
    60 	}
       
    61 
       
    62 EXPORT_C void TTrap::UnTrap()
       
    63 	{
       
    64 	}
       
    65 #endif
    47 
    66 
    48 #endif
    67 #endif
    49 
    68 
    50 EXPORT_C void EmptyFunction()
    69 EXPORT_C void EmptyFunction()
    51  //Function with an empty body 
    70  //Function with an empty body