提交 dcb7026f 编写于 作者: B Behdad Esfahbod

Add ASSERT_STATIC_EXPR macro

Unused right now.
上级 3e8bdbf9
......@@ -78,6 +78,8 @@ HB_BEGIN_DECLS
#define _ASSERT_STATIC0(_line, _cond) _ASSERT_STATIC1 (_line, (_cond))
#define ASSERT_STATIC(_cond) _ASSERT_STATIC0 (__LINE__, (_cond))
#define ASSERT_STATIC_EXPR(_cond) ((void) sizeof (char[(_cond) ? 1 : -1]))
/* Lets assert int types. Saves trouble down the road. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册