1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: snd_ThreadStack.cpp 4 5 Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain proprietary 8 information of Nintendo and/or its licensed developers and are protected by 9 national and international copyright laws. They may not be disclosed to third 10 parties or copied or duplicated in any form, in whole or in part, without the 11 prior written consent of Nintendo. 12 13 The content herein is highly confidential and should be handled accordingly. 14 15 $Revision: $ 16 *---------------------------------------------------------------------------*/ 17 18 #include "precompiled.h" 19 20 #include <nw/snd/snd_ThreadStack.h> 21 22 namespace nw { 23 namespace snd { 24 namespace internal { 25 Initialize(uptr ptr,size_t size)26void ThreadStack::Initialize( uptr ptr, size_t size ) 27 { 28 NW_ASSERT( !m_Addr ); // 再イニシャライズ禁止 29 30 m_Addr = ptr; 31 m_Size = size; 32 } 33 Finalize()34void ThreadStack::Finalize() 35 { 36 m_Addr = 0; 37 m_Size = 0; 38 } 39 40 } // namespace nw::snd::internal 41 } // namespace nw::snd 42 } // namespace nw 43 44