blob: 061f35cdcd8c1bb2c45eecb92d9394be4802317d [file] [log] [blame]
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -04001/*
Behdad Esfahbod2409d5f2011-04-21 17:14:28 -04002 * Copyright © 2011 Google, Inc.
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -04003 *
4 * This is part of HarfBuzz, a text shaping library.
5 *
6 * Permission is hereby granted, without written agreement and without
7 * license or royalty fees, to use, copy, modify, and distribute this
8 * software and its documentation for any purpose, provided that the
9 * above copyright notice and the following two paragraphs appear in
10 * all copies of this software.
11 *
12 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
16 * DAMAGE.
17 *
18 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
23 *
24 * Google Author(s): Behdad Esfahbod
25 */
26
27/* This file tests that all headers can be included from .c files */
28
Behdad Esfahbod6af9cff2011-04-29 12:00:38 -040029
Khaled Hosnyc8609552017-12-06 00:43:28 +020030#ifdef HAVE_CONFIG_H
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040031#include <config.h>
Khaled Hosnyc8609552017-12-06 00:43:28 +020032#endif
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040033
34#include <hb.h>
Behdad Esfahbod1e8fdd22018-10-10 16:32:35 -040035#include <hb-ot.h>
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040036
Behdad Esfahbod458c89a2011-08-09 00:19:19 +020037#ifdef HAVE_GLIB
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040038#include <hb-glib.h>
39#endif
40
Behdad Esfahbod458c89a2011-08-09 00:19:19 +020041#ifdef HAVE_ICU
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040042#include <hb-icu.h>
43#endif
44
Behdad Esfahbod458c89a2011-08-09 00:19:19 +020045#ifdef HAVE_FREETYPE
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040046#include <hb-ft.h>
47#endif
48
Behdad Esfahbod458c89a2011-08-09 00:19:19 +020049#ifdef HAVE_UNISCRIBE
Behdad Esfahbod9da55452011-08-05 19:48:49 -040050#include <hb-uniscribe.h>
51#endif
52
Behdad Esfahbod7d395c22013-05-28 15:25:06 -040053#ifdef HAVE_CORETEXT
54#include <hb-coretext.h>
55#endif
56
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040057int
Behdad Esfahboddcfcb952018-09-30 18:14:50 +020058main (void)
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040059{
Behdad Esfahboda17554b2011-09-28 16:57:34 -040060 return !*hb_shape_list_shapers ();
Behdad Esfahbodfb6291d2011-04-20 03:15:31 -040061}