File: exkana.h

package info (click to toggle)
texlive-bin 2016.20160513.41080.dfsg-2+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 155,060 kB
  • sloc: ansic: 702,862; cpp: 222,090; perl: 76,014; sh: 23,402; makefile: 8,078; lex: 4,710; pascal: 3,782; python: 3,614; java: 3,569; yacc: 2,905; exp: 2,031; xml: 800; tcl: 670; ruby: 620; lisp: 397; sed: 351; asm: 140; csh: 48; awk: 30
file content (23 lines) | stat: -rw-r--r-- 729 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
extern UChar AKASATANA[];
extern UChar *akasatana;
extern UChar AIUEO[];
extern UChar *aiueo;
extern UChar kanatable[];
extern UChar extkanatable[];

extern UChar GANADA[];

#define SPACE    0x3000    /* 全角スペース */
#define ALPHATOP 0xff01    /* ! */
#define ALPHAEND 0xff5a    /* z */
#define YENSIGN  0xffe5    /* ¥ */
#define HIRATOP  0x3041    /* ぁ */
#define HIRAEND  0x3096    /* ゖ */
#define KATATOP  0x30a1    /* ァ */
#define KATAEND  0x30fa    /* ヺ */
#define EXKANATOP  0x31F0  /* ㇰ */
#define EXKANAEND  0x31FF  /* ㇿ */

#define is_katakana(a)  ((a)>=KATATOP && (a)<=KATAEND)
#define is_hiragana(a)  ((a)>=HIRATOP && (a)<=HIRAEND)
#define is_extkana(a)   ((a)>=EXKANATOP && (a)<=EXKANAEND)