xref: /aosp_15_r20/external/harfbuzz_ng/src/hb.hh (revision 2d1272b857b1f7575e6e246373e1cb218663db8a)
1 /*
2  * Copyright © 2007,2008,2009  Red Hat, Inc.
3  * Copyright © 2011,2012  Google, Inc.
4  *
5  *  This is part of HarfBuzz, a text shaping library.
6  *
7  * Permission is hereby granted, without written agreement and without
8  * license or royalty fees, to use, copy, modify, and distribute this
9  * software and its documentation for any purpose, provided that the
10  * above copyright notice and the following two paragraphs appear in
11  * all copies of this software.
12  *
13  * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
14  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
15  * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
16  * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
17  * DAMAGE.
18  *
19  * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
20  * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21  * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
22  * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
23  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
24  *
25  * Red Hat Author(s): Behdad Esfahbod
26  * Google Author(s): Behdad Esfahbod
27  */
28 
29 #ifndef HB_HH
30 #define HB_HH
31 
32 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC
33 #ifdef _MSC_VER
34 #pragma warning( disable: 4068 ) /* Unknown pragma */
35 #endif
36 #if defined(__GNUC__) || defined(__clang__)
37 /* Rules:
38  *
39  * - All pragmas are declared GCC even if they are clang ones.  Otherwise GCC
40  *   nags, even though we instruct it to ignore -Wunknown-pragmas. ¯\_(ツ)_/¯
41  *
42  * - Within each category, keep sorted.
43  *
44  * - Warnings whose scope can be expanded in future compiler versions shall
45  *   be declared as "warning".  Otherwise, either ignored or error.
46  */
47 
48 /* Setup.  Don't sort order within this category. */
49 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING
50 #pragma GCC diagnostic warning "-Wall"
51 #pragma GCC diagnostic warning "-Wextra"
52 #endif
53 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_IGNORED
54 #pragma GCC diagnostic ignored "-Wpragmas"
55 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
56 #pragma GCC diagnostic ignored "-Wunknown-warning-option"
57 #endif
58 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING
59 //#pragma GCC diagnostic warning "-Weverything"
60 #endif
61 
62 /* Error.  Should never happen. */
63 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_ERROR
64 #pragma GCC diagnostic error   "-Wbitwise-instead-of-logical"
65 #pragma GCC diagnostic error   "-Wcast-align"
66 #pragma GCC diagnostic error   "-Wcast-function-type"
67 #pragma GCC diagnostic error   "-Wcast-function-type-strict"
68 #pragma GCC diagnostic error   "-Wconstant-conversion"
69 #pragma GCC diagnostic error   "-Wcomma"
70 #pragma GCC diagnostic error   "-Wdelete-non-virtual-dtor"
71 #pragma GCC diagnostic error   "-Wembedded-directive"
72 #pragma GCC diagnostic error   "-Wextra-semi-stmt"
73 #pragma GCC diagnostic error   "-Wformat-security"
74 #pragma GCC diagnostic error   "-Wimplicit-function-declaration"
75 #pragma GCC diagnostic error   "-Winit-self"
76 #pragma GCC diagnostic error   "-Winjected-class-name"
77 #pragma GCC diagnostic error   "-Wmissing-braces"
78 #pragma GCC diagnostic error   "-Wmissing-declarations"
79 #pragma GCC diagnostic error   "-Wmissing-prototypes"
80 #pragma GCC diagnostic error   "-Wnarrowing"
81 #pragma GCC diagnostic error   "-Wnested-externs"
82 #pragma GCC diagnostic error   "-Wold-style-definition"
83 #pragma GCC diagnostic error   "-Wpointer-arith"
84 #pragma GCC diagnostic error   "-Wredundant-decls"
85 #pragma GCC diagnostic error   "-Wreorder"
86 #pragma GCC diagnostic error   "-Wsign-compare"
87 #pragma GCC diagnostic error   "-Wstrict-flex-arrays"
88 #pragma GCC diagnostic error   "-Wstrict-prototypes"
89 #pragma GCC diagnostic error   "-Wstring-conversion"
90 #pragma GCC diagnostic error   "-Wswitch-enum"
91 #pragma GCC diagnostic error   "-Wtautological-overlap-compare"
92 #pragma GCC diagnostic error   "-Wunneeded-internal-declaration"
93 #pragma GCC diagnostic error   "-Wunused"
94 #pragma GCC diagnostic error   "-Wunused-local-typedefs"
95 #pragma GCC diagnostic error   "-Wunused-value"
96 #pragma GCC diagnostic error   "-Wunused-variable"
97 #pragma GCC diagnostic error   "-Wvla"
98 #pragma GCC diagnostic error   "-Wwrite-strings"
99 #endif
100 
101 /* Warning.  To be investigated if happens. */
102 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_WARNING
103 #pragma GCC diagnostic warning "-Wbuiltin-macro-redefined"
104 #pragma GCC diagnostic warning "-Wdeprecated"
105 #pragma GCC diagnostic warning "-Wdeprecated-declarations"
106 #pragma GCC diagnostic warning "-Wdisabled-optimization"
107 #pragma GCC diagnostic warning "-Wdouble-promotion"
108 #pragma GCC diagnostic warning "-Wformat=2"
109 #pragma GCC diagnostic warning "-Wformat-signedness"
110 #pragma GCC diagnostic warning "-Wignored-pragma-optimize"
111 #pragma GCC diagnostic warning "-Wlogical-op"
112 #pragma GCC diagnostic warning "-Wmaybe-uninitialized"
113 #pragma GCC diagnostic warning "-Wmissing-format-attribute"
114 #pragma GCC diagnostic warning "-Wundef"
115 #pragma GCC diagnostic warning "-Wunsafe-loop-optimizations"
116 #pragma GCC diagnostic warning "-Wunused-but-set-variable"
117 #endif
118 
119 /* Ignored currently, but should be fixed at some point. */
120 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_IGNORED
121 #pragma GCC diagnostic ignored "-Wconversion"			// TODO fix
122 #pragma GCC diagnostic ignored "-Wshadow"			// TODO fix
123 #pragma GCC diagnostic ignored "-Wunused-parameter"		// TODO fix
124 #if defined(__GNUC__) && !defined(__clang__)
125 #pragma GCC diagnostic ignored "-Wunused-result"		// TODO fix
126 #endif
127 #endif
128 
129 /* Ignored intentionally. */
130 #ifndef HB_NO_PRAGMA_GCC_DIAGNOSTIC_IGNORED
131 #pragma GCC diagnostic ignored "-Wclass-memaccess"
132 #pragma GCC diagnostic ignored "-Wcast-function-type-strict" // https://github.com/harfbuzz/harfbuzz/pull/3859#issuecomment-1295409126
133 #pragma GCC diagnostic ignored "-Wdangling-reference" // https://github.com/harfbuzz/harfbuzz/issues/4043
134 #pragma GCC diagnostic ignored "-Wformat-nonliteral"
135 #pragma GCC diagnostic ignored "-Wformat-zero-length"
136 #pragma GCC diagnostic ignored "-Wmissing-field-initializers"
137 #pragma GCC diagnostic ignored "-Wpacked" // Erratic impl in clang
138 #pragma GCC diagnostic ignored "-Wrange-loop-analysis" // https://github.com/harfbuzz/harfbuzz/issues/2834
139 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
140 #pragma GCC diagnostic ignored "-Wtype-limits"
141 #pragma GCC diagnostic ignored "-Wc++11-compat" // only gcc raises it
142 #endif
143 
144 #endif
145 #endif
146 
147 
148 #include "hb-config.hh"
149 #include "hb-limits.hh"
150 
151 
152 /*
153  * Following added based on what AC_USE_SYSTEM_EXTENSIONS adds to
154  * config.h.in.  Copied here for the convenience of those embedding
155  * HarfBuzz and not using our build system.
156  */
157 /* Enable extensions on AIX 3, Interix.  */
158 #ifndef _ALL_SOURCE
159 # define _ALL_SOURCE 1
160 #endif
161 /* Enable GNU extensions on systems that have them.  */
162 #ifndef _GNU_SOURCE
163 # define _GNU_SOURCE 1
164 #endif
165 /* Enable threading extensions on Solaris.  */
166 #ifndef _POSIX_PTHREAD_SEMANTICS
167 # define _POSIX_PTHREAD_SEMANTICS 1
168 #endif
169 /* Enable extensions on HP NonStop.  */
170 #ifndef _TANDEM_SOURCE
171 # define _TANDEM_SOURCE 1
172 #endif
173 /* Enable general extensions on Solaris.  */
174 #ifndef __EXTENSIONS__
175 # define __EXTENSIONS__ 1
176 #endif
177 
178 #if defined (_MSC_VER) && defined (HB_DLL_EXPORT)
179 #define HB_EXTERN __declspec (dllexport) extern
180 #endif
181 
182 // https://github.com/harfbuzz/harfbuzz/pull/4619
183 #ifndef __STDC_FORMAT_MACROS
184 #define __STDC_FORMAT_MACROS 1
185 #endif
186 
187 #include "hb.h"
188 #define HB_H_IN
189 #include "hb-ot.h"
190 #define HB_OT_H_IN
191 #include "hb-aat.h"
192 #define HB_AAT_H_IN
193 
194 #include <cassert>
195 #include <cfloat>
196 #include <climits>
197 #if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
198 # define _USE_MATH_DEFINES
199 #endif
200 #include <cmath>
201 #include <cstdarg>
202 #include <cstddef>
203 #include <cstdio>
204 #include <cstdlib>
205 #include <cstring>
206 
207 #if (defined(_MSC_VER) && _MSC_VER >= 1500) || defined(__MINGW32__)
208 #ifdef __MINGW32_VERSION
209 #ifndef WIN32_LEAN_AND_MEAN
210 #define WIN32_LEAN_AND_MEAN 1
211 #endif
212 #else
213 #include <intrin.h>
214 #endif
215 #endif
216 
217 #ifdef _WIN32
218 #include <windows.h>
219 #include <winapifamily.h>
220 #endif
221 
222 #ifndef PRId32
223 # define PRId32 "d"
224 # define PRIu32 "u"
225 # define PRIx32 "x"
226 #endif
227 
228 #define HB_PASTE1(a,b) a##b
229 #define HB_PASTE(a,b) HB_PASTE1(a,b)
230 
231 
232 /* Compile-time custom allocator support. */
233 
234 #if !defined(HB_CUSTOM_MALLOC) \
235   && defined(hb_malloc_impl) \
236   && defined(hb_calloc_impl) \
237   && defined(hb_realloc_impl) \
238   && defined(hb_free_impl)
239 #define HB_CUSTOM_MALLOC
240 #endif
241 
242 #ifdef HB_CUSTOM_MALLOC
243 extern "C" void* hb_malloc_impl(size_t size);
244 extern "C" void* hb_calloc_impl(size_t nmemb, size_t size);
245 extern "C" void* hb_realloc_impl(void *ptr, size_t size);
246 extern "C" void  hb_free_impl(void *ptr);
247 #define hb_malloc hb_malloc_impl
248 #define hb_calloc hb_calloc_impl
249 #define hb_realloc hb_realloc_impl
250 #define hb_free hb_free_impl
251 #else
252 #define hb_malloc malloc
253 #define hb_calloc calloc
254 #define hb_realloc realloc
255 #define hb_free free
256 #endif
257 
258 
259 /*
260  * Compiler attributes
261  */
262 
263 // gcc 10 has __has_builtin but not earlier versions. Sanction any gcc >= 5
264 // clang defines it so no need.
265 #ifdef __has_builtin
266 #define hb_has_builtin __has_builtin
267 #else
268 #define hb_has_builtin(x) ((defined(__GNUC__) && __GNUC__ >= 5))
269 #endif
270 
271 #if defined(__OPTIMIZE__) && hb_has_builtin(__builtin_expect)
272 #define likely(expr) __builtin_expect (bool(expr), 1)
273 #define unlikely(expr) __builtin_expect (bool(expr), 0)
274 #else
275 #define likely(expr) (expr)
276 #define unlikely(expr) (expr)
277 #endif
278 
279 #if !defined(__GNUC__) && !defined(__clang__)
280 #undef __attribute__
281 #define __attribute__(x)
282 #endif
283 
284 #if defined(__GNUC__) && (__GNUC__ >= 3)
285 #define HB_PRINTF_FUNC(format_idx, arg_idx) __attribute__((__format__ (__printf__, format_idx, arg_idx)))
286 #else
287 #define HB_PRINTF_FUNC(format_idx, arg_idx)
288 #endif
289 #if defined(__GNUC__) && (__GNUC__ >= 4) || (__clang__)
290 #define HB_UNUSED	__attribute__((unused))
291 #elif defined(_MSC_VER) /* https://github.com/harfbuzz/harfbuzz/issues/635 */
292 #define HB_UNUSED __pragma(warning(suppress: 4100 4101))
293 #else
294 #define HB_UNUSED
295 #endif
296 
297 #ifndef HB_INTERNAL
298 # if !defined(HB_NO_VISIBILITY) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(_MSC_VER) && !defined(__SUNPRO_CC)
299 #  define HB_INTERNAL __attribute__((__visibility__("hidden")))
300 # elif defined(__MINGW32__)
301    /* We use -export-symbols on mingw32, since it does not support visibility attributes. */
302 #  define HB_INTERNAL
303 # elif defined (_MSC_VER) && defined (HB_DLL_EXPORT)
304    /* We do not try to export internal symbols on Visual Studio */
305 #  define HB_INTERNAL
306 #else
307 #  define HB_INTERNAL
308 #  define HB_NO_VISIBILITY 1
309 # endif
310 #endif
311 
312 /* https://github.com/harfbuzz/harfbuzz/issues/1651 */
313 #if defined(__clang__) && __clang_major__ < 10
314 #define static_const static
315 #else
316 #define static_const static const
317 #endif
318 
319 #if defined(__GNUC__) && (__GNUC__ >= 3)
320 #define HB_FUNC __PRETTY_FUNCTION__
321 #elif defined(_MSC_VER)
322 #define HB_FUNC __FUNCSIG__
323 #else
324 #define HB_FUNC __func__
325 #endif
326 
327 #if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5140)
328 /* https://github.com/harfbuzz/harfbuzz/issues/630 */
329 #define __restrict
330 #endif
331 
332 #ifndef HB_ALWAYS_INLINE
333 #if defined(_MSC_VER)
334 #define HB_ALWAYS_INLINE __forceinline
335 #else
336 #define HB_ALWAYS_INLINE __attribute__((always_inline)) inline
337 #endif
338 #endif
339 
340 /*
341  * Borrowed from https://bugzilla.mozilla.org/show_bug.cgi?id=1215411
342  * HB_FALLTHROUGH is an annotation to suppress compiler warnings about switch
343  * cases that fall through without a break or return statement. HB_FALLTHROUGH
344  * is only needed on cases that have code:
345  *
346  * switch (foo) {
347  *   case 1: // These cases have no code. No fallthrough annotations are needed.
348  *   case 2:
349  *   case 3:
350  *     foo = 4; // This case has code, so a fallthrough annotation is needed:
351  *     HB_FALLTHROUGH;
352  *   default:
353  *     return foo;
354  * }
355  */
356 #if defined(__clang__) && __cplusplus >= 201103L
357    /* clang's fallthrough annotations are only available starting in C++11. */
358 #  define HB_FALLTHROUGH [[clang::fallthrough]]
359 #elif defined(__GNUC__) && (__GNUC__ >= 7)
360    /* GNU fallthrough attribute is available from GCC7 */
361 #  define HB_FALLTHROUGH __attribute__((fallthrough))
362 #elif defined(_MSC_VER)
363    /*
364     * MSVC's __fallthrough annotations are checked by /analyze (Code Analysis):
365     * https://msdn.microsoft.com/en-us/library/ms235402%28VS.80%29.aspx
366     */
367 #  include <sal.h>
368 #  define HB_FALLTHROUGH __fallthrough
369 #else
370 #  define HB_FALLTHROUGH /* FALLTHROUGH */
371 #endif
372 
373 /* A tag to enforce use of return value for a function */
374 #if __cplusplus >= 201703L
375 #  define HB_NODISCARD [[nodiscard]]
376 #elif defined(__GNUC__) || defined(__clang__)
377 #  define HB_NODISCARD __attribute__((warn_unused_result))
378 #elif defined(_MSC_VER)
379 #  define HB_NODISCARD _Check_return_
380 #else
381 #  define HB_NODISCARD
382 #endif
383 
384 /* https://github.com/harfbuzz/harfbuzz/issues/1852 */
385 #if defined(__clang__) && !(defined(_AIX) && (defined(__IBMCPP__) || defined(__ibmxl__)))
386 /* Disable certain sanitizer errors. */
387 /* https://github.com/harfbuzz/harfbuzz/issues/1247 */
388 #define HB_NO_SANITIZE_SIGNED_INTEGER_OVERFLOW __attribute__((no_sanitize("signed-integer-overflow")))
389 #else
390 #define HB_NO_SANITIZE_SIGNED_INTEGER_OVERFLOW
391 #endif
392 
393 
394 #ifdef _WIN32
395    /* We need Windows Vista for both Uniscribe backend and for
396     * MemoryBarrier.  We don't support compiling on Windows XP,
397     * though we run on it fine. */
398 #  if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600
399 #    undef _WIN32_WINNT
400 #  endif
401 #  ifndef _WIN32_WINNT
402 #    if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
403 #      define _WIN32_WINNT 0x0600
404 #    endif
405 #  endif
406 #  ifndef WIN32_LEAN_AND_MEAN
407 #    define WIN32_LEAN_AND_MEAN 1
408 #  endif
409 #  ifndef STRICT
410 #    define STRICT 1
411 #  endif
412 
413 #  if defined(_WIN32_WCE)
414      /* Some things not defined on Windows CE. */
415 #    define vsnprintf _vsnprintf
416 #    ifndef HB_NO_GETENV
417 #      define HB_NO_GETENV
418 #    endif
419 #    if _WIN32_WCE < 0x800
420 #      define HB_NO_SETLOCALE
421 #      define HB_NO_ERRNO
422 #    endif
423 #  elif !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
424 #    ifndef HB_NO_GETENV
425 #      define HB_NO_GETENV
426 #    endif
427 #  endif
428 #  if defined(_MSC_VER) && _MSC_VER < 1900
429 #    define snprintf _snprintf
430 #  endif
431 #endif
432 
433 #ifdef HB_NO_GETENV
434 #define getenv(Name) nullptr
435 #endif
436 
437 #ifndef HB_NO_ERRNO
438 #  include <cerrno>
439 #else
440 static int HB_UNUSED _hb_errno = 0;
441 #  undef errno
442 #  define errno _hb_errno
443 #endif
444 
445 #define HB_STMT_START do
446 #define HB_STMT_END   while (0)
447 
448 #if defined(HAVE_ATEXIT) && !defined(HB_USE_ATEXIT)
449 /* atexit() is only safe to be called from shared libraries on certain
450  * platforms.  Whitelist.
451  * https://bugs.freedesktop.org/show_bug.cgi?id=82246 */
452 #  if defined(__linux) && defined(__GLIBC_PREREQ)
453 #    if __GLIBC_PREREQ(2,3)
454 /* From atexit() manpage, it's safe with glibc 2.2.3 on Linux. */
455 #      define HB_USE_ATEXIT 1
456 #    endif
457 #  elif defined(_MSC_VER) || defined(__MINGW32__)
458 /* For MSVC:
459  * https://msdn.microsoft.com/en-us/library/tze57ck3.aspx
460  * https://msdn.microsoft.com/en-us/library/zk17ww08.aspx
461  * mingw32 headers say atexit is safe to use in shared libraries.
462  */
463 #    define HB_USE_ATEXIT 1
464 #  elif defined(__ANDROID__)
465 /* This is available since Android NKD r8 or r8b:
466  * https://issuetracker.google.com/code/p/android/issues/detail?id=6455
467  */
468 #    define HB_USE_ATEXIT 1
469 #  elif defined(__APPLE__)
470 /* For macOS and related platforms, the atexit man page indicates
471  * that it will be invoked when the library is unloaded, not only
472  * at application exit.
473  */
474 #    define HB_USE_ATEXIT 1
475 #  endif
476 #endif /* defined(HAVE_ATEXIT) && !defined(HB_USE_ATEXIT) */
477 #ifdef HB_NO_ATEXIT
478 #  undef HB_USE_ATEXIT
479 #endif
480 #ifndef HB_USE_ATEXIT
481 #  define HB_USE_ATEXIT 0
482 #endif
483 #ifndef hb_atexit
484 #if !HB_USE_ATEXIT
485 #  define hb_atexit(_) HB_STMT_START { if (0) (_) (); } HB_STMT_END
486 #else /* HB_USE_ATEXIT */
487 #  ifdef HAVE_ATEXIT
488 #    define hb_atexit atexit
489 #  else
~hb_atexit_thb_atexit_t490      template <void (*function) (void)> struct hb_atexit_t { ~hb_atexit_t () { function (); } };
491 #    define hb_atexit(f) static hb_atexit_t<f> _hb_atexit_##__LINE__;
492 #  endif
493 #endif
494 #endif
495 
496 
497 // Locale business
498 
499 #if !defined(HB_NO_SETLOCALE) && (!defined(HAVE_NEWLOCALE) || !defined(HAVE_USELOCALE))
500 #define HB_NO_SETLOCALE 1
501 #endif
502 
503 #ifndef HB_NO_SETLOCALE
504 
505 #include <locale.h>
506 #ifdef HAVE_XLOCALE_H
507 #include <xlocale.h> // Needed on BSD/OS X for uselocale
508 #endif
509 
510 #ifdef WIN32
511 #define hb_locale_t _locale_t
512 #else
513 #define hb_locale_t locale_t
514 #endif
515 #define hb_setlocale setlocale
516 #define hb_uselocale uselocale
517 
518 #else
519 
520 #define hb_locale_t void *
521 #define hb_setlocale(Category, Locale) "C"
522 #define hb_uselocale(Locale) ((hb_locale_t) 0)
523 
524 #endif
525 
526 
527 /* Lets assert int types.  Saves trouble down the road. */
528 static_assert ((sizeof (hb_codepoint_t) == 4), "");
529 static_assert ((sizeof (hb_position_t) == 4), "");
530 static_assert ((sizeof (hb_mask_t) == 4), "");
531 static_assert ((sizeof (hb_var_int_t) == 4), "");
532 
533 
534 /* Pie time. */
535 // https://github.com/harfbuzz/harfbuzz/issues/4166
536 #define HB_PI 3.14159265358979f
537 #define HB_2_PI (2.f * HB_PI)
538 
539 
540 /* Headers we include for everyone.  Keep topologically sorted by dependency.
541  * They express dependency amongst themselves, but no other file should include
542  * them directly.*/
543 #include "hb-cplusplus.hh"
544 #include "hb-meta.hh"
545 #include "hb-mutex.hh"
546 #include "hb-number.hh"
547 #include "hb-atomic.hh"	// Requires: hb-meta
548 #include "hb-null.hh"	// Requires: hb-meta
549 #include "hb-algs.hh"	// Requires: hb-meta hb-null hb-number
550 #include "hb-iter.hh"	// Requires: hb-algs hb-meta
551 #include "hb-debug.hh"	// Requires: hb-algs hb-atomic
552 #include "hb-array.hh"	// Requires: hb-algs hb-iter hb-null
553 #include "hb-vector.hh"	// Requires: hb-array hb-null
554 #include "hb-object.hh"	// Requires: hb-atomic hb-mutex hb-vector
555 
556 #endif /* HB_HH */
557