1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: os_ErrorHandler.h 4 5 Copyright (C)2009-2011 Nintendo Co., Ltd. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Rev: 38282 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_OS_CTR_OS_ERRORHANDLER_H_ 17 #define NN_OS_CTR_OS_ERRORHANDLER_H_ 18 19 #include <nn/Result.h> 20 21 #ifdef __cplusplus 22 23 namespace nn { namespace os { namespace CTR { namespace detail { 24 25 void InternalErrorHandler( Result result ); 26 void InternalErrorHandler( Result result, const char* filename, int lineno ); 27 28 void SetInternalErrorHandlerMode( bool preferFatal ); 29 30 }}}} // namespace nn::os::CTR::detail 31 32 #endif // __cplusplus 33 34 #endif /* NN_OS_OS_ERRORHANDLER_H_ */ 35