添加一些关于midi播放的项目
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* @brief provide macro for software assertions.
|
||||
*
|
||||
* assert_failed() defined in assert.c.
|
||||
*******************************************************************************/
|
||||
|
||||
#ifndef _ASSERT_H_
|
||||
#define _ASSERT_H_
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
void assert_failed(char *, int);
|
||||
|
||||
#ifdef DEBUG_PRINT
|
||||
#define ASSERT(expr) \
|
||||
if (!(expr)) \
|
||||
assert_failed(__FILE__, __LINE__)
|
||||
#else
|
||||
#define ASSERT(expr)
|
||||
#endif
|
||||
|
||||
/********************************************************************/
|
||||
#endif /* _ASSERT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user