[pango] [HB] Rename CAIRO_ in macro prefix to HB_
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pango] [HB] Rename CAIRO_ in macro prefix to HB_
- Date: Wed, 19 Aug 2009 22:26:11 +0000 (UTC)
commit 6f73b497a2f4d22611a136ef360b68a78547074f
Author: Behdad Esfahbod <behdad behdad org>
Date: Wed Aug 19 18:07:36 2009 -0400
[HB] Rename CAIRO_ in macro prefix to HB_
Hiss!
pango/opentype/hb-private.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pango/opentype/hb-private.h b/pango/opentype/hb-private.h
index cdc2b84..8d885aa 100644
--- a/pango/opentype/hb-private.h
+++ b/pango/opentype/hb-private.h
@@ -132,7 +132,7 @@ typedef GStaticMutex hb_mutex_t;
#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)
-#define _CAIRO_BOOLEAN_EXPR(expr) \
+#define _HB_BOOLEAN_EXPR(expr) \
__extension__ ({ \
int _cairo_boolean_var_; \
if (expr) \
@@ -141,8 +141,8 @@ typedef GStaticMutex hb_mutex_t;
_cairo_boolean_var_ = 0; \
_cairo_boolean_var_; \
})
-#define HB_LIKELY(expr) (__builtin_expect (_CAIRO_BOOLEAN_EXPR(expr), 1))
-#define HB_UNLIKELY(expr) (__builtin_expect (_CAIRO_BOOLEAN_EXPR(expr), 0))
+#define HB_LIKELY(expr) (__builtin_expect (_HB_BOOLEAN_EXPR(expr), 1))
+#define HB_UNLIKELY(expr) (__builtin_expect (_HB_BOOLEAN_EXPR(expr), 0))
#else
#define HB_LIKELY(expr) (expr)
#define HB_UNLIKELY(expr) (expr)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]