[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Jul 25 21:30:31 UTC 2018
src/hb-shaper-private.hh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 74467b790154838e86c3ca8df0eaafe82e87f976
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Wed Jul 25 14:30:07 2018 -0700
Fix compile
diff --git a/src/hb-shaper-private.hh b/src/hb-shaper-private.hh
index 3fa53216..8f86b4eb 100644
--- a/src/hb-shaper-private.hh
+++ b/src/hb-shaper-private.hh
@@ -97,10 +97,10 @@ HB_SHAPER_DATA_ENSURE_FUNC(shaper, object) (hb_##object##_t *object) \
retry: \
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)) { \
- /* Note that evaluating condition above can be dangerous if another thread
- * 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
- * using it at the same time. */
+ /* Note that evaluating condition above can be dangerous if another thread \
+ * 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 \
+ * using it at the same time. */ \
/* Drop and recreate. */ \
/* If someone dropped it in the mean time, throw it away and don't touch it. \
* Otherwise, destruct it. */ \
More information about the HarfBuzz
mailing list