<br />LM3S函数库debug.h里面__error__是哪里的函数?<br /><br /><br />#ifndef __DEBUG_H__<br />#define __DEBUG_H__<br /><br />//*****************************************************************************<br />//<br />// Prototype for the function that is called when an invalid argument is passed<br />// to an API. This is only used when doing a DEBUG build.<br />//<br />//*****************************************************************************<br />extern void __error__(char *pcFilename, unsigned long ulLine);<br /><br />//*****************************************************************************<br />//<br />// The ASSERT macro, which does the actual assertion checking. Typically, this<br />// will be for procedure arguments.<br />//<br />//*****************************************************************************<br /><br />#define ASSERT(expr) { <br /> if(!(expr)) <br /> { <br /> __error__(__FILE__, __LINE__); <br /> } <br /> }<br /><br />#endif // __DEBUG_H__<br /> |
|