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