1 /*---------------------------------------------------------------------------* 2 Project: Horizon 3 File: osl_EventFlag.h 4 5 Copyright (C)2009 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: 12449 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NN_NET_OSL_OSL_DEBUG_H_ 17 #define NN_NET_OSL_OSL_DEBUG_H_ 18 19 #include <nn/types.h> 20 21 22 #define NN_NET_OSL_DUMP_FLAG_POINTER 1 23 #define NN_NET_OSL_DUMP_FLAG_STRING 2 24 25 26 #ifdef __cplusplus 27 28 namespace nn{ 29 namespace net{ 30 namespace osl{ 31 32 33 void DumpMemory(const void* p, size_t size, bit32 flags = 0); 34 35 } 36 } 37 } // namesapce nn::net::osl 38 39 #endif // __cplusplus 40 41 // 以下、C 用宣言 42 43 #include <nn/util/detail/util_CLibImpl.h> 44 45 NN_EXTERN_C void nnnetOslDumpMemory(const void* p, size_t size, bit32 flags); 46 47 #endif // NN_NET_OSL_OSL_DEBUG_H_ 48