• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one or more
3  * contributor license agreements.  See the NOTICE file distributed with
4  * this work for additional information regarding copyright ownership.
5  * The ASF licenses this file to You under the Apache License, Version 2.0
6  * (the "License"); you may not use this file except in compliance with
7  * the License.  You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #include <JNIHelp.h>
19 /* Header for class org_apache_harmony_text_BidiWrapper */
20 
21 #if !defined(_Included_org_apache_harmony_text_BidiWrapper)
22 #define _Included_org_apache_harmony_text_BidiWrapper
23 #if defined(__cplusplus)
24 extern "C"
25 {
26 #endif
27 #undef org_apache_harmony_text_BidiWrapper_UBIDI_DEFAULT_LTR
28 #define org_apache_harmony_text_BidiWrapper_UBIDI_DEFAULT_LTR 254L
29 #undef org_apache_harmony_text_BidiWrapper_UBIDI_DEFAULT_RTL
30 #define org_apache_harmony_text_BidiWrapper_UBIDI_DEFAULT_RTL 255L
31 #undef org_apache_harmony_text_BidiWrapper_UBIDI_MAX_EXPLICIT_LEVEL
32 #define org_apache_harmony_text_BidiWrapper_UBIDI_MAX_EXPLICIT_LEVEL 61L
33 #undef org_apache_harmony_text_BidiWrapper_UBIDI_LEVEL_OVERRIDE
34 #define org_apache_harmony_text_BidiWrapper_UBIDI_LEVEL_OVERRIDE 128L
35 #undef org_apache_harmony_text_BidiWrapper_UBIDI_KEEP_BASE_COMBINING
36 #define org_apache_harmony_text_BidiWrapper_UBIDI_KEEP_BASE_COMBINING 1L
37 #undef org_apache_harmony_text_BidiWrapper_UBIDI_DO_MIRRORING
38 #define org_apache_harmony_text_BidiWrapper_UBIDI_DO_MIRRORING 2L
39 #undef org_apache_harmony_text_BidiWrapper_UBIDI_INSERT_LRM_FOR_NUMERIC
40 #define org_apache_harmony_text_BidiWrapper_UBIDI_INSERT_LRM_FOR_NUMERIC 4L
41 #undef org_apache_harmony_text_BidiWrapper_UBIDI_REMOVE_BIDI_CONTROLS
42 #define org_apache_harmony_text_BidiWrapper_UBIDI_REMOVE_BIDI_CONTROLS 8L
43 #undef org_apache_harmony_text_BidiWrapper_UBIDI_OUTPUT_REVERSE
44 #define org_apache_harmony_text_BidiWrapper_UBIDI_OUTPUT_REVERSE 16L
45 #undef org_apache_harmony_text_BidiWrapper_UBiDiDirection_UBIDI_LTR
46 #define org_apache_harmony_text_BidiWrapper_UBiDiDirection_UBIDI_LTR 0L
47 #undef org_apache_harmony_text_BidiWrapper_UBiDiDirection_UBIDI_RTL
48 #define org_apache_harmony_text_BidiWrapper_UBiDiDirection_UBIDI_RTL 1L
49 #undef org_apache_harmony_text_BidiWrapper_UBiDiDirection_UBIDI_MIXED
50 #define org_apache_harmony_text_BidiWrapper_UBiDiDirection_UBIDI_MIXED 2L
51 /*
52  * Class:     org_apache_harmony_text_BidiWrapper
53  * Method:    ubidi_open
54  * Signature: ()J
55  */
56   JNIEXPORT jlong JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1open
57     (JNIEnv *, jclass);
58 /*
59  * Class:     org_apache_harmony_text_BidiWrapper
60  * Method:    ubidi_close
61  * Signature: (J)V
62  */
63   JNIEXPORT void JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1close
64     (JNIEnv *, jclass, jlong);
65 /*
66  * Class:     org_apache_harmony_text_BidiWrapper
67  * Method:    ubidi_setPara
68  * Signature: (J[CIB[B)V
69  */
70   JNIEXPORT void JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1setPara
71     (JNIEnv *, jclass, jlong, jcharArray, jint, jbyte, jbyteArray);
72 /*
73  * Class:     org_apache_harmony_text_BidiWrapper
74  * Method:    ubidi_setLine
75  * Signature: (JII)J
76  */
77   JNIEXPORT jlong JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1setLine
78     (JNIEnv *, jclass, jlong, jint, jint);
79 /*
80  * Class:     org_apache_harmony_text_BidiWrapper
81  * Method:    ubidi_getDirection
82  * Signature: (J)I
83  */
84   JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getDirection
85     (JNIEnv *, jclass, jlong);
86 /*
87  * Class:     org_apache_harmony_text_BidiWrapper
88  * Method:    ubidi_getLength
89  * Signature: (J)I
90  */
91   JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getLength
92     (JNIEnv *, jclass, jlong);
93 /*
94  * Class:     org_apache_harmony_text_BidiWrapper
95  * Method:    ubidi_getParaLevel
96  * Signature: (J)B
97  */
98   JNIEXPORT jbyte JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getParaLevel
99     (JNIEnv *, jclass, jlong);
100 /*
101  * Class:     org_apache_harmony_text_BidiWrapper
102  * Method:    ubidi_getLevels
103  * Signature: (J)[B
104  */
105   JNIEXPORT jbyteArray JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getLevels
106     (JNIEnv *, jclass, jlong);
107 /*
108  * Class:     org_apache_harmony_text_BidiWrapper
109  * Method:    ubidi_countRuns
110  * Signature: (J)I
111  */
112   JNIEXPORT jint JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1countRuns
113     (JNIEnv *, jclass, jlong);
114 /*
115  * Class:     org_apache_harmony_text_BidiWrapper
116  * Method:    ubidi_getRuns
117  * Signature: (J)[Lorg/apache/harmony/text/BidiRun;
118  */
119 JNIEXPORT jobjectArray JNICALL Java_org_apache_harmony_text_BidiWrapper_ubidi_1getRuns
120   (JNIEnv *, jclass, jlong);
121 /*
122  * Class:     org_apache_harmony_text_BidiWrapper
123  * Method:    ubidi_reorderVisual
124  * Signature: ([BI)[I
125  */
126   JNIEXPORT jintArray JNICALL
127     Java_org_apache_harmony_text_BidiWrapper_ubidi_1reorderVisual (JNIEnv *, jclass,
128                                                         jbyteArray, jint);
129 #if defined(__cplusplus)
130 }
131 #endif
132 #endif
133