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

📄 assert.c

📁 深圳市微逻辑电子有限公司 巨果&#8226 Kingmos&reg 系统核心
💻 C
字号:
//#include <estring.h>
//#include <stdlib.h>
//#include <eassert.h>
//#include <eframe.h>
#include <ewindows.h>

BOOL _InitDebug(void)
{
	return 1;
}

//void __ShowDebugStr( int x, int y, char *lpstr )
//{
//}

//void __ShowDebugValue( int x, int y, int v )
//{
//}

//static char tMsg[256];
//static char tCond[256];
//static char tFile[256];
//
//void FormatStr( char * ptchar, const char *pchar )
//{
//	while( *pchar )
//		*ptchar++ = *pchar++;
//	*ptchar = 0;
//}

//void __AssertFail( char *__msg, char *__cond, char *__file, int __line )
void __AssertFail( char *__msg, char *__cond, char *__file, int __line, char * __notify )
{	
	//FormatStr( tMsg, __msg );
	//FormatStr( tCond, __cond );
	//FormatStr( tFile, __file );
	//RETAILMSG( 1, (tMsg, tCond, tFile, __line) );
	//EdbgOutputDebugString(tMsg);
	//EdbgOutputDebugString(tCond);
	//EdbgOutputDebugString(tFile);
	//EdbgOutputDebugString(tMsg);
	if( __notify )
	{
		EdbgOutputDebugString( "%s", __notify );
	}

	EdbgOutputDebugString(__msg, __cond, __file, __line);
}
/*
void KL_DebugOutString( char * lpszStr )
{
	//FormatStr( tMsg, lpszStr );
	//RETAILMSG( 1, (tMsg) );
	EdbgOutputDebugString(lpszStr);
}
*/





⌨️ 快捷键说明

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