Mercurial > hg > xemacs-beta
comparison modules/canna/canna_api.c @ 3830:e58f4b9ab1ad
[xemacs-hg @ 2007-02-15 16:11:52 by stephent]
Adapt canna autodetection to current reality. <878xeze6qj.fsf@uwakimon.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Thu, 15 Feb 2007 16:12:19 +0000 |
parents | a80f978d8342 |
children | f9be867eb83e |
comparison
equal
deleted
inserted
replaced
3829:5320274f018b | 3830:e58f4b9ab1ad |
---|---|
159 #endif | 159 #endif |
160 | 160 |
161 #include "buffer.h" | 161 #include "buffer.h" |
162 #include "file-coding.h" | 162 #include "file-coding.h" |
163 | 163 |
164 #ifdef CANNA2 | 164 /* iroha (Canna v1) support removed as of canna_api.c r1.4. |
165 #### Is the IROHA_BC #define needed? */ | |
165 #define IROHA_BC | 166 #define IROHA_BC |
166 #define CANNA_NEW_WCHAR_AWARE | |
167 #include "canna/jrkanji.h" | 167 #include "canna/jrkanji.h" |
168 #include "canna/RK.h" | 168 #include "canna/RK.h" |
169 #else /* !CANNA2 */ | 169 |
170 #include "iroha/jrkanji.h" | 170 /* #### These shouldn't be needed any more. */ |
171 #include "iroha/RK.h" | |
172 #endif /* !CANNA2 */ | |
173 extern char *jrKanjiError; | 171 extern char *jrKanjiError; |
174 | |
175 extern int (*jrBeepFunc) (void); | 172 extern int (*jrBeepFunc) (void); |
176 | 173 |
177 /* #### is this global really necessary? */ | 174 /* #### is this global really necessary? */ |
178 #define KEYTOSTRSIZE 2048 | 175 #define KEYTOSTRSIZE 2048 |
179 static Extbyte key_buffer[KEYTOSTRSIZE]; | 176 static Extbyte key_buffer[KEYTOSTRSIZE]; |