summaryrefslogtreecommitdiff
path: root/pango/mini-fribidi/fribidi_config.h
blob: da0610df9ab801f257fe107d881d81232622fa9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include <glib.h>

#define FRIBIDI_TRUE    TRUE
#define FRIBIDI_FALSE   FALSE
#define HAS_FRIBIDI_TAB_CHAR_TYPE_2_I 1
#define FRIBIDI_API

/* squash -Werror=undef warnings from the other char types */
#define HAS_FRIBIDI_TAB_CHAR_TYPE_9_I 0
#define HAS_FRIBIDI_TAB_CHAR_TYPE_8_I 0
#define HAS_FRIBIDI_TAB_CHAR_TYPE_7_I 0
#define HAS_FRIBIDI_TAB_CHAR_TYPE_6_I 0
#define HAS_FRIBIDI_TAB_CHAR_TYPE_5_I 0
#define HAS_FRIBIDI_TAB_CHAR_TYPE_4_I 0
#define HAS_FRIBIDI_TAB_CHAR_TYPE_3_I 0

/* this was in fribidi_unicode.h.  we only need these bits from that
 * file, so moved here. */
#define UNI_MAX_BIDI_LEVEL 61

/* ripped off debugging functions, make sure it's not triggerred. */
#undef DEBUG

/* g_malloc and g_free verbatim */
#define malloc g_malloc
#define free g_free

/* rename symbols to pango internal namespace */
#define fribidi_log2vis_get_embedding_levels_new_utf8 _pango_fribidi_log2vis_get_embedding_levels_new_utf8
#define fribidi_prop_to_type _pango_fribidi_prop_to_type
#define fribidi_get_type _pango_fribidi_get_type
#define fribidi_get_type_internal fribidi_get_type