⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makctc.h

📁 arm ads1.2 with crack.rar
💻 H
字号:
/*
 * Huffman code table prototype definitions
 * Copyright (C) ARM Limited 1998-1999. All rights reserved.
 */
 
#ifndef _MAKE_CT_C_
#define _MAKE_CT_C_

/*
protect file from multiple inclusion with same size data
*/
#if SIZE == 8
	#ifdef _MAKE_CT_C_G8_
		#define	GUARD
	#else
		#define _MAKE_CT_C_G8_
	#endif
#elif SIZE == 16
	#ifdef _MAKE_CT_C_G16_
		#define	GUARD
	#else
		#define _MAKE_CT_C_G16_
	#endif
#elif SIZE == 32
	#ifdef _MAKE_CT_C_G32_
		#define	GUARD
	#else
		#define _MAKE_CT_C_G32_
	#endif
#endif

#ifndef	GUARD

#include "datasize.h"

/* TYPE is undefined here rather than at the end after declaration since it is used after the header inclusion */
#ifdef TYPE
	#undef	TYPE
#endif

#if SIZE == 8
	#define TYPE	BYTESYMBOL
#elif SIZE == 16
	#define TYPE	HWORDSYMBOL
#elif SIZE == 32
	#define TYPE	WORDSYMBOL
#endif

/* require both #defines below since nested preprocessor # statements */
#define MCTPROTOTYPE( SYMBOLSIZE, SYMBOLTYPE ) \
	unsigned int *MakeHuffCodeTable ## SYMBOLSIZE( SYMBOLTYPE symbols[ ], unsigned int nsymbols, unsigned int freqcodelen[ ], unsigned int maxcodewlen )

#define MCTFUNCTIONDECLARATION( SYMBOLSIZE, SYMBOLTYPE ) MCTPROTOTYPE( SYMBOLSIZE, SYMBOLTYPE )

/* define function prototype for given size of data */
MCTFUNCTIONDECLARATION( SIZE, TYPE ) ;

#endif	/* !GUARD */

#endif	/* _MAKE_CT_C_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -