Git init
[external/pango1.0.git] / pango / mini-fribidi / fribidi.h
1 /* FriBidi - Library of BiDi algorithm
2  * Copyright (C) 1999,2000 Dov Grobgeld, and
3  * Copyright (C) 2001,2002 Behdad Esfahbod. 
4  * 
5  * This library is free software; you can redistribute it and/or 
6  * modify it under the terms of the GNU Lesser General Public 
7  * License as published by the Free Software Foundation; either 
8  * version 2.1 of the License, or (at your option) any later version. 
9  * 
10  * This library is distributed in the hope that it will be useful, 
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13  * Lesser General Public License for more details. 
14  * 
15  * You should have received a copy of the GNU Lesser General Public License 
16  * along with this library, in a file named COPYING; if not, write to the 
17  * Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
18  * Boston, MA 02111-1307, USA  
19  * 
20  * For licensing issues, contact <dov@imagic.weizmann.ac.il> and 
21  * <fwpg@sharif.edu>. 
22  */
23
24 #ifndef FRIBIDI_H
25 #define FRIBIDI_H
26
27 #ifndef NULL
28 #define NULL 0
29 #endif
30
31 #include "fribidi_config.h"
32 #include "fribidi_types.h"
33
34 #ifdef __cplusplus
35 extern "C"
36 {
37 #endif
38
39 #define FRIBIDI_HAVE_UTF8
40
41   FRIBIDI_API FriBidiLevel *fribidi_log2vis_get_embedding_levels_new_utf8 (     /* input */
42                                                                      const char *str,
43                                                                      int bytelen,
44                                                                      FriBidiCharType
45                                                                      *pbase_dir);
46
47 /*======================================================================
48  *  fribidi_get_type() returns bidi type of a character.
49  *----------------------------------------------------------------------*/
50   FRIBIDI_API FriBidiCharType fribidi_get_type (FriBidiChar uch);
51
52 #ifdef  __cplusplus
53 }
54 #endif
55
56 #endif                          /* FRIBIDI_H */