Annotation of elwix/tools/oldlzma/SRC/Common/ComTry.h, revision 1.1

1.1     ! misho       1: // ComTry.h
        !             2: 
        !             3: #ifndef __COM_TRY_H
        !             4: #define __COM_TRY_H
        !             5: 
        !             6: #include "Exception.h"
        !             7: 
        !             8: #define COM_TRY_BEGIN try {
        !             9: #define COM_TRY_END } catch(const CSystemException &e) { return e.ErrorCode; }\
        !            10:     catch(...) { return E_FAIL; }
        !            11: 
        !            12: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>