1 /*---------------------------------------------------------------------------* 2 Project: Revolution SOUNDFILE dynamic link library 3 File: chunkname.h 4 5 Copyright (C)1998-2006 Nintendo 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 $Log: chunkname.h,v $ 14 Revision 1.2 02/09/2006 06:51:39 aka 15 Changed copyright. 16 17 18 *---------------------------------------------------------------------------*/ 19 20 #ifndef __CHUNKNAME_H__ 21 #define __CHUNKNAME_H__ 22 23 24 /*--------------------------------------------------------------------------* 25 chunk_name macro 26 *--------------------------------------------------------------------------*/ 27 #define chunk_name(a,b,c,d)( \ 28 (a & 0xFF) \ 29 + ((b & 0xFF) << 8) \ 30 + ((c & 0xFF) << 16) \ 31 + ((d & 0xFF) << 24)) 32 33 34 #endif // __CHUNKNAME_H_ 35