1 | /* FriBidi |
2 | * bidi-types.h - define internal bidi types |
3 | * |
4 | * Author: |
5 | * Behdad Esfahbod, 2001, 2002, 2004 |
6 | * |
7 | * Copyright (C) 2004 Sharif FarsiWeb, Inc. |
8 | * Copyright (C) 2001,2002 Behdad Esfahbod |
9 | * |
10 | * This library is free software; you can redistribute it and/or |
11 | * modify it under the terms of the GNU Lesser General Public |
12 | * License as published by the Free Software Foundation; either |
13 | * version 2.1 of the License, or (at your option) any later version. |
14 | * |
15 | * This library is distributed in the hope that it will be useful, |
16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
18 | * Lesser General Public License for more details. |
19 | * |
20 | * You should have received a copy of the GNU Lesser General Public License |
21 | * along with this library, in a file named COPYING; if not, write to the |
22 | * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 | * Boston, MA 02110-1301, USA |
24 | * |
25 | * For licensing issues, contact <fribidi.license@gmail.com>. |
26 | */ |
27 | #ifndef _BIDI_TYPES_H |
28 | #define _BIDI_TYPES_H |
29 | |
30 | #include "fribidi-common.h" |
31 | |
32 | #include <fribidi-types.h> |
33 | #include <fribidi-bidi-types.h> |
34 | |
35 | #include <fribidi-begindecls.h> |
36 | |
37 | #define FRIBIDI_LEVEL_INVALID FRIBIDI_BIDI_MAX_RESOLVED_LEVELS |
38 | #define FRIBIDI_SENTINEL -1 |
39 | |
40 | #ifdef DEBUG |
41 | |
42 | char |
43 | fribidi_char_from_bidi_type ( |
44 | FriBidiCharType t /* input bidi type */ |
45 | ) FRIBIDI_GNUC_HIDDEN; |
46 | |
47 | #endif /* DEBUG */ |
48 | |
49 | #include <fribidi-enddecls.h> |
50 | |
51 | #endif /* !_BIDI_TYPES_H */ |
52 | /* Editor directions: |
53 | * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent |
54 | */ |
55 | |