/*---------------------------------------------------------------------------* Project: Horizon File: dbg_Break.h Copyright (C)2009 Nintendo Co., Ltd. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Rev: 23646 $ *--------------------------------------------------------------------------- */ /* Please see man pages for details */ #ifndef NN_DBG_DBG_BREAK_H_ #define NN_DBG_DBG_BREAK_H_ #include #include #include //------------------------------------------------------------------- // for C / C++ #ifdef __cplusplus extern "C" { #endif // ifdef __cplusplus /* Please see man pages for details */ nnResult nndbgBreak(int reason); /* Please see man pages for details */ void nndbgPanic(void); #ifdef __cplusplus } #endif // ifdef __cplusplus //------------------------------------------------------------------- // for C++ #ifdef __cplusplus namespace nn { namespace dbg { /* Please see man pages for details */ nn::Result Break(nn::dbg::BreakReason reason); /* Please see man pages for details */ inline nn::Result Break() { return Break(BREAK_REASON_PANIC); } /* Please see man pages for details */ void Panic(); }} #endif // ifdef __cplusplus #endif /* NN_DBG_DBG_BREAK_H_ */