1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: snd_ThreadStack.cpp 4 5 Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. 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 $Revision: $ 14 *---------------------------------------------------------------------------*/ 15 16 #include "precompiled.h" 17 18 #include <nw/snd/snd_ThreadStack.h> 19 20 namespace nw { 21 namespace snd { 22 namespace internal { 23 Initialize(uptr ptr,size_t size)24void ThreadStack::Initialize( uptr ptr, size_t size ) 25 { 26 NW_ASSERT( !m_Addr ); // 再イニシャライズ禁止 27 28 m_Addr = ptr; 29 m_Size = size; 30 } 31 Finalize()32void ThreadStack::Finalize() 33 { 34 m_Addr = 0; 35 m_Size = 0; 36 } 37 38 } // namespace nw::snd::internal 39 } // namespace nw::snd 40 } // namespace nw 41 42