Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: third_party/harfbuzz-ng/src/hb-private.hh

Issue 1874153002: Roll HarfBuzz to 1.2.6 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright © 2007,2008,2009 Red Hat, Inc. 2 * Copyright © 2007,2008,2009 Red Hat, Inc.
3 * Copyright © 2011,2012 Google, Inc. 3 * Copyright © 2011,2012 Google, Inc.
4 * 4 *
5 * This is part of HarfBuzz, a text shaping library. 5 * This is part of HarfBuzz, a text shaping library.
6 * 6 *
7 * Permission is hereby granted, without written agreement and without 7 * Permission is hereby granted, without written agreement and without
8 * license or royalty fees, to use, copy, modify, and distribute this 8 * license or royalty fees, to use, copy, modify, and distribute this
9 * software and its documentation for any purpose, provided that the 9 * software and its documentation for any purpose, provided that the
10 * above copyright notice and the following two paragraphs appear in 10 * above copyright notice and the following two paragraphs appear in
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 604
605 /* Makes class uncopyable. Use in private: section. */ 605 /* Makes class uncopyable. Use in private: section. */
606 #define NO_COPY(T) \ 606 #define NO_COPY(T) \
607 T (const T &o); \ 607 T (const T &o); \
608 T &operator = (const T &o) 608 T &operator = (const T &o)
609 609
610 610
611 /* Debug */ 611 /* Debug */
612 612
613 613
614 /* HB_NDEBUG disables some sanity checks that are very safe to disable and
615 * should be disabled in production systems. If NDEBUG is defined, enable
616 * HB_NDEBUG; but if it's desirable that normal assert()s (which are very
617 * light-weight) to be enabled, then HB_DEBUG can be defined to disable
618 * the costlier checks. */
619 #ifdef NDEBUG
620 #define HB_NDEBUG
621 #endif
622
614 #ifndef HB_DEBUG 623 #ifndef HB_DEBUG
615 #define HB_DEBUG 0 624 #define HB_DEBUG 0
616 #endif 625 #endif
617 626
618 static inline bool 627 static inline bool
619 _hb_debug (unsigned int level, 628 _hb_debug (unsigned int level,
620 unsigned int max_level) 629 unsigned int max_level)
621 { 630 {
622 return level < max_level; 631 return level < max_level;
623 } 632 }
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 if (unlikely (!_hb_options.i)) 1011 if (unlikely (!_hb_options.i))
1003 _hb_options_init (); 1012 _hb_options_init ();
1004 1013
1005 return _hb_options.opts; 1014 return _hb_options.opts;
1006 } 1015 }
1007 1016
1008 /* Size signifying variable-sized array */ 1017 /* Size signifying variable-sized array */
1009 #define VAR 1 1018 #define VAR 1
1010 1019
1011 #endif /* HB_PRIVATE_HH */ 1020 #endif /* HB_PRIVATE_HH */
OLDNEW
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc ('k') | third_party/harfbuzz-ng/src/hb-unicode-private.hh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698