由3926个源代码

源代码在线查看: debug.h

软件大小: 12594 K
上传用户: jccg1000146752
关键词: 3926 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* @(#) debug.h 2.1 87/12/25 12:22:02 */
				
				/* 
				The contents of this file are hereby released to the public domain.
				
				                           -- Rahul Dhesi 1986/11/14
				
				defines conditional function calls 
				
				Usage:  The statement
				
				   debug((printf("y = %d\n", y)))
				
				may be placed anywhere where two or more statements could be used.  It will 
				print the value of y at that point.
				
				Conditional compilation:
				
				   if DEBUG is defined
				      define the macro debug(X) to execute statement X
				   else
				      define the macro debug(X) to be null
				   endif
				*/
				
				#ifdef DEBUG
				#define  debug(x)    x;
				#else
				#define  debug(x)
				#endif
				
							

相关资源