commit | 35a7383c6138fd705560f0d4bb30659cbd1ab64c | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <[email protected]> | Sat Aug 01 19:30:31 2009 -0400 |
committer | Behdad Esfahbod <[email protected]> | Mon Nov 02 14:40:24 2009 -0500 |
tree | 3f8db188b81bfb3e58687277ad5027fb22df8f17 | |
parent | 23af767a4475fecc1fe9fe9108f12c05c89bc8c9 [diff] [blame] |
[HB] Simplify refcounting functions
diff --git a/src/hb-private.h b/src/hb-private.h index 196bc3c..2f482db 100644 --- a/src/hb-private.h +++ b/src/hb-private.h
@@ -73,6 +73,8 @@ # define TRUE 1 #endif +#define HB_STMT_START do +#define HB_STMT_END while (0) #define _ASSERT_STATIC1(_line, _cond) typedef int _static_assert_on_line_##_line##_failed[(_cond)?1:-1] #define _ASSERT_STATIC0(_line, _cond) _ASSERT_STATIC1 (_line, (_cond))