Imported Upstream version 0.19.4
[platform/upstream/fribidi.git] / lib / joining-types.h
1 /* FriBidi
2  * joining-types.h - define internal joining types
3  *
4  * $Id: joining-types.h,v 1.4 2006-01-31 03:23:13 behdad Exp $
5  * $Author: behdad $
6  * $Date: 2006-01-31 03:23:13 $
7  * $Revision: 1.4 $
8  * $Source: /home/behdad/src/fdo/fribidi/togit/git/../fribidi/fribidi2/lib/joining-types.h,v $
9  *
10  * Author:
11  *   Behdad Esfahbod, 2004
12  *
13  * Copyright (C) 2004 Sharif FarsiWeb, Inc.
14  * Copyright (C) 2004 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., 59 Temple Place, Suite 330,
29  * Boston, MA 02111-1307, USA
30  *
31  * For licensing issues, contact <license@farsiweb.info>.
32  */
33 #ifndef _JOINING_TYPES_H
34 #define _JOINING_TYPES_H
35
36 #include "common.h"
37
38 #include <fribidi-types.h>
39 #include <fribidi-joining-types.h>
40
41 #include <fribidi-begindecls.h>
42
43 #if DEBUG+0
44
45 #define fribidi_char_from_joining_type FRIBIDI_PRIVATESPACE(char_from_joining_type)
46 char
47 fribidi_char_from_joining_type (
48   FriBidiJoiningType j,         /* input joining type */
49   fribidi_boolean visual        /* in visual context or logical? */
50 ) FRIBIDI_GNUC_HIDDEN;
51
52 #endif /* DEBUG */
53
54 #include <fribidi-enddecls.h>
55
56 #endif /* !_JOINING_TYPES_H */
57 /* Editor directions:
58  * vim:textwidth=78:tabstop=8:shiftwidth=2:autoindent:cindent
59  */