提交 74467b79 编写于 作者: B Behdad Esfahbod

Fix compile

上级 bf90f353
...@@ -97,10 +97,10 @@ HB_SHAPER_DATA_ENSURE_FUNC(shaper, object) (hb_##object##_t *object) \ ...@@ -97,10 +97,10 @@ HB_SHAPER_DATA_ENSURE_FUNC(shaper, object) (hb_##object##_t *object) \
retry: \ retry: \
HB_SHAPER_DATA_TYPE (shaper, object) *data = (HB_SHAPER_DATA_TYPE (shaper, object) *) hb_atomic_ptr_get (&HB_SHAPER_DATA (shaper, object)); \ HB_SHAPER_DATA_TYPE (shaper, object) *data = (HB_SHAPER_DATA_TYPE (shaper, object) *) hb_atomic_ptr_get (&HB_SHAPER_DATA (shaper, object)); \
if (likely (data) && !(condition)) { \ if (likely (data) && !(condition)) { \
/* Note that evaluating condition above can be dangerous if another thread /* Note that evaluating condition above can be dangerous if another thread \
* got here first and destructed data. That's, as always, bad use pattern. * got here first and destructed data. That's, as always, bad use pattern. \
* If you modify the font (change font size), other threads must not be * If you modify the font (change font size), other threads must not be \
* using it at the same time. */ * using it at the same time. */ \
/* Drop and recreate. */ \ /* Drop and recreate. */ \
/* If someone dropped it in the mean time, throw it away and don't touch it. \ /* If someone dropped it in the mean time, throw it away and don't touch it. \
* Otherwise, destruct it. */ \ * Otherwise, destruct it. */ \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册